diff options
author | Norbert Lange | 2009-06-19 11:24:06 +0000 |
---|---|---|
committer | Norbert Lange | 2009-06-19 11:24:06 +0000 |
commit | c3596c184b032744d0a6d0d72879dcde854ec93e (patch) | |
tree | fb2cf662f95d6ae1cc99a4ab20304c11c9171b6e /sound | |
parent | 6126341755d37d2238fe0ce5467f629cb32229e7 (diff) | |
download | scummvm-rg350-c3596c184b032744d0a6d0d72879dcde854ec93e.tar.gz scummvm-rg350-c3596c184b032744d0a6d0d72879dcde854ec93e.tar.bz2 scummvm-rg350-c3596c184b032744d0a6d0d72879dcde854ec93e.zip |
Ugly hack for fixing color palette
svn-id: r41672
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mods/tfmx.cpp | 2 | ||||
-rw-r--r-- | sound/mods/tfmx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/tfmx.cpp b/sound/mods/tfmx.cpp index a43e330908..7272848ae1 100644 --- a/sound/mods/tfmx.cpp +++ b/sound/mods/tfmx.cpp @@ -211,7 +211,7 @@ FORCEINLINE bool Tfmx::macroStep(ChannelContext &channel) { case 0x13: // DMA Off. Parameters: deferWait, addset, vol // TODO: implement PArameters Paula::disableChannel(channel.paulaChannel); - channel.deferWait = macroPtr[1] >= 1; + channel.deferWait = (macroPtr[1] != 0); if (channel.deferWait) { // if set, then we expect a DMA On in the same tick. channel.period = 4; diff --git a/sound/mods/tfmx.h b/sound/mods/tfmx.h index 37c71e8b38..bcb25fbf8b 100644 --- a/sound/mods/tfmx.h +++ b/sound/mods/tfmx.h @@ -144,7 +144,7 @@ public: uint8 relVol; uint8 note; uint8 prevNote; - int16 fineTune; + int16 fineTune; // always a signextended byte uint8 portaSkip; uint8 portaCount; |