diff options
author | Johannes Schickel | 2009-05-05 22:34:04 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-05 22:34:04 +0000 |
commit | 6f840550b917499ca5c66597f4eae1003b1b7a37 (patch) | |
tree | b2bfbe1a36b3f5413507483eef53d18667a5b774 | |
parent | 625f41c135a2dc9b242443a874370e5273ecb638 (diff) | |
download | scummvm-rg350-6f840550b917499ca5c66597f4eae1003b1b7a37.tar.gz scummvm-rg350-6f840550b917499ca5c66597f4eae1003b1b7a37.tar.bz2 scummvm-rg350-6f840550b917499ca5c66597f4eae1003b1b7a37.zip |
Dual OPL2 initialization bugfix.
svn-id: r40339
-rw-r--r-- | sound/softsynth/opl/dosbox.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/softsynth/opl/dosbox.cpp b/sound/softsynth/opl/dosbox.cpp index 6e2177a843..eff0ec4b55 100644 --- a/sound/softsynth/opl/dosbox.cpp +++ b/sound/softsynth/opl/dosbox.cpp @@ -213,6 +213,11 @@ bool OPL::init(int rate) { 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; |