From 8cda2728ebeb10d600708f2eac550d9c040ea560 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 20 Jun 2009 06:48:47 +0000 Subject: Finally tracked down the difference/bug in the music playing code - music playback now works svn-id: r41700 --- engines/cruise/sound.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3