[Scummvm-cvs-logs] SF.net SVN: scummvm:[41704] scummvm/trunk/engines/cine/sound.cpp
cyx at users.sourceforge.net
cyx at users.sourceforge.net
Sat Jun 20 12:52:55 CEST 2009
Revision: 41704
http://scummvm.svn.sourceforge.net/scummvm/?rev=41704&view=rev
Author: cyx
Date: 2009-06-20 10:52:55 +0000 (Sat, 20 Jun 2009)
Log Message:
-----------
fixed OPL 0xB0 register write. the return value of findNote() already includes the octave, no need to readd it.
Modified Paths:
--------------
scummvm/trunk/engines/cine/sound.cpp
Modified: scummvm/trunk/engines/cine/sound.cpp
===================================================================
--- scummvm/trunk/engines/cine/sound.cpp 2009-06-20 08:15:39 UTC (rev 41703)
+++ scummvm/trunk/engines/cine/sound.cpp 2009-06-20 10:52:55 UTC (rev 41704)
@@ -507,8 +507,6 @@
}
int freq, note, oct;
findNote(frequency, ¬e, &oct);
-
- note += oct * 12;
if (ins->amDepth) {
note = ins->amDepth;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list