diff options
author | Paul Gilbert | 2009-06-20 06:48:47 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-06-20 06:48:47 +0000 |
commit | 8cda2728ebeb10d600708f2eac550d9c040ea560 (patch) | |
tree | 953b523037f74591f073979631938062c53b5c24 /engines/cruise/sound.cpp | |
parent | d7e0c52a860f964e8ad192583cba11b297067331 (diff) | |
download | scummvm-rg350-8cda2728ebeb10d600708f2eac550d9c040ea560.tar.gz scummvm-rg350-8cda2728ebeb10d600708f2eac550d9c040ea560.tar.bz2 scummvm-rg350-8cda2728ebeb10d600708f2eac550d9c040ea560.zip |
Finally tracked down the difference/bug in the music playing code - music playback now works
svn-id: r41700
Diffstat (limited to 'engines/cruise/sound.cpp')
-rw-r--r-- | engines/cruise/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cruise/sound.cpp b/engines/cruise/sound.cpp index 6a30112227..3f8782d1ae 100644 --- a/engines/cruise/sound.cpp +++ b/engines/cruise/sound.cpp @@ -255,7 +255,9 @@ void PCSoundDriver::findNote(int freq, int *note, int *oct) const { break; } } + *oct = *note / 12; + *note %= 12; } void PCSoundDriver::resetChannel(int channel) { |