diff options
author | Florian Kagerer | 2010-08-03 19:06:27 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-08-03 19:06:27 +0000 |
commit | 449927abcf3c7c5b7346b6483375f19150ebc3bd (patch) | |
tree | 3966bc69e7700e316ac65734b8b1f289b56f9879 | |
parent | 3fc3a59139b52828fa06f8f3e22f068c004fd469 (diff) | |
download | scummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.tar.gz scummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.tar.bz2 scummvm-rg350-449927abcf3c7c5b7346b6483375f19150ebc3bd.zip |
FMTOWNS AUDIO: fix typo
svn-id: r51709
-rw-r--r-- | sound/softsynth/fmtowns_pc98/towns_audio.cpp | 2 |
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); |