[Scummvm-cvs-logs] SF.net SVN: scummvm:[40339] scummvm/trunk/sound/softsynth/opl/dosbox.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed May 6 00:34:04 CEST 2009
Revision: 40339
http://scummvm.svn.sourceforge.net/scummvm/?rev=40339&view=rev
Author: lordhoto
Date: 2009-05-05 22:34:04 +0000 (Tue, 05 May 2009)
Log Message:
-----------
Dual OPL2 initialization bugfix.
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/opl/dosbox.cpp
Modified: scummvm/trunk/sound/softsynth/opl/dosbox.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/opl/dosbox.cpp 2009-05-05 22:18:26 UTC (rev 40338)
+++ scummvm/trunk/sound/softsynth/opl/dosbox.cpp 2009-05-05 22:34:04 UTC (rev 40339)
@@ -213,6 +213,11 @@
break;
case kDualOpl2:
+ _handler = new OPL3::Handler();
+ // Setup opl3 mode in the hander
+ _handler->writeReg(0x105, 1);
+ break;
+
case kOpl3:
_handler = new OPL3::Handler();
break;
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