diff options
author | Norbert Lange | 2009-07-09 00:19:17 +0000 |
---|---|---|
committer | Norbert Lange | 2009-07-09 00:19:17 +0000 |
commit | 84e96bc513f1e17709312fb74d4faa46c6a741ca (patch) | |
tree | 6b30576198ffe7dbc86d0fcb74b1dff79f10b0aa /sound/mods | |
parent | d25f4814214018fdf7fdb0b9b732948a19da7d6d (diff) | |
download | scummvm-rg350-84e96bc513f1e17709312fb74d4faa46c6a741ca.tar.gz scummvm-rg350-84e96bc513f1e17709312fb74d4faa46c6a741ca.tar.bz2 scummvm-rg350-84e96bc513f1e17709312fb74d4faa46c6a741ca.zip |
fixed up some constants
svn-id: r42276
Diffstat (limited to 'sound/mods')
-rw-r--r-- | sound/mods/maxtrax.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp index e53099e480..371fe952b5 100644 --- a/sound/mods/maxtrax.cpp +++ b/sound/mods/maxtrax.cpp @@ -235,8 +235,8 @@ int MaxTrax::calcNote(VoiceContext &voice) { voice.periodOffset = 0; const int maxOctave = patch.sampleOctaves - 1; while (tone > PREF_PERIOD && octave < maxOctave) { - tone -= 1 << 4; - voice.periodOffset += 1 <<4; + tone -= 1 << 16; + voice.periodOffset += 1 << 16; octave++; } tone -= voice.periodOffset; |