From 88e32146b9e41eb907c72799a02a5856d0fe117f Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 4 Mar 2009 22:18:46 +0000 Subject: [PATCH] - Fixed: One byte is too short for DUMB_IT_SIGRENDERER to store song tempo. Changed it to a word. SVN r1461 (trunk) --- docs/rh-log.txt | 6 ++++-- dumb/include/internal/it.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 9df211d08f..5bb9a335f8 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,9 +1,11 @@ March 4, 2009 +- Fixed: One byte is too short for DUMB_IT_SIGRENDERER to store song tempo. + Changed it to a word. - Went back to using RDTSC for timing on Win32. Ironically, QueryPerformanceCounter() is obviously using the TSC for its timing on my machine, yet the overhead it has to do to keep the timer sane is apparently - visible on a few maps. I suppose I should at some time check clock_gettime() - and see if it has similar issues on Linux. + noticeable on a few maps. I suppose I should at some time check + clock_gettime() and see if it has similar issues on Linux. March 3, 2009 (Changes by Graf Zahl) - changed: If a monster with the BOSSDEATH flag is crushed A_BossDeath will diff --git a/dumb/include/internal/it.h b/dumb/include/internal/it.h index 6de15ccb31..e248ade796 100644 --- a/dumb/include/internal/it.h +++ b/dumb/include/internal/it.h @@ -666,8 +666,8 @@ struct DUMB_IT_SIGRENDERER unsigned char globalvolume; signed char globalvolslide; - unsigned char tempo; signed char temposlide; + unsigned short tempo; IT_CHANNEL channel[DUMB_IT_N_CHANNELS];