aboutsummaryrefslogtreecommitdiff
path: root/sound/mods
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods')
-rw-r--r--sound/mods/tfmx.cpp2
-rw-r--r--sound/mods/tfmx.h2
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;