aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorPaul Gilbert2009-06-20 06:48:47 +0000
committerPaul Gilbert2009-06-20 06:48:47 +0000
commit8cda2728ebeb10d600708f2eac550d9c040ea560 (patch)
tree953b523037f74591f073979631938062c53b5c24 /engines/cruise
parentd7e0c52a860f964e8ad192583cba11b297067331 (diff)
downloadscummvm-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')
-rw-r--r--engines/cruise/sound.cpp2
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) {