aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorFlorian Kagerer2010-08-03 19:06:27 +0000
committerFlorian Kagerer2010-08-03 19:06:27 +0000
commit449927abcf3c7c5b7346b6483375f19150ebc3bd (patch)
tree3966bc69e7700e316ac65734b8b1f289b56f9879 /sound/softsynth
parent3fc3a59139b52828fa06f8f3e22f068c004fd469 (diff)
downloadscummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.tar.gz
scummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.tar.bz2
scummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.zip
FMTOWNS AUDIO: fix typo
svn-id: r51709
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/fmtowns_pc98/towns_audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/fmtowns_pc98/towns_audio.cpp b/sound/softsynth/fmtowns_pc98/towns_audio.cpp
index ea5797baec..773c5a8067 100644
--- a/sound/softsynth/fmtowns_pc98/towns_audio.cpp
+++ b/sound/softsynth/fmtowns_pc98/towns_audio.cpp
@@ -1303,7 +1303,7 @@ void TownsAudioInterface::pcmCalcPhaseStep(TownsAudio_PcmChannel *p, TownsAudio_
uint32 s = 0;
if (diff < 0) {
- diff -= 1;
+ diff *= -1;
bl = diff % 12;
diff /= 12;
s = (r >> diff);