From c3596c184b032744d0a6d0d72879dcde854ec93e Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Fri, 19 Jun 2009 11:24:06 +0000 Subject: Ugly hack for fixing color palette svn-id: r41672 --- sound/mods/tfmx.cpp | 2 +- sound/mods/tfmx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/mods') 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; -- cgit v1.2.3