aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/softsynth/opl/dosbox.cpp5
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;