aboutsummaryrefslogtreecommitdiff
path: root/sound/mods
diff options
context:
space:
mode:
authorNorbert Lange2009-06-20 21:20:39 +0000
committerNorbert Lange2009-06-20 21:20:39 +0000
commitc6ba5279b1c144ee44a1f65a962baa46aa0f4803 (patch)
tree715abffc1d466dd0ea0d0b4258767b4164fa3718 /sound/mods
parent8e00db241f30774544bc22fb0499f08c0d39d8c4 (diff)
downloadscummvm-rg350-c6ba5279b1c144ee44a1f65a962baa46aa0f4803.tar.gz
scummvm-rg350-c6ba5279b1c144ee44a1f65a962baa46aa0f4803.tar.bz2
scummvm-rg350-c6ba5279b1c144ee44a1f65a962baa46aa0f4803.zip
and 1 fix for a regression - always set sampleperiod before starting output
svn-id: r41717
Diffstat (limited to 'sound/mods')
-rw-r--r--sound/mods/tfmx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/mods/tfmx.cpp b/sound/mods/tfmx.cpp
index 26879f85a6..002e5e004e 100644
--- a/sound/mods/tfmx.cpp
+++ b/sound/mods/tfmx.cpp
@@ -255,6 +255,7 @@ FORCEINLINE bool Tfmx::macroStep(ChannelContext &channel) {
// there is actually a small delay in the player, but I think that
// only allows to clear DMA-State on real Hardware
}
+ Paula::setChannelPeriod(channel.paulaChannel, channel.period);
Paula::enableChannel(channel.paulaChannel);
channel.deferWait = false;
return true;