aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorMatthew Hoops2015-04-21 00:42:32 -0400
committerMatthew Hoops2015-07-07 20:19:44 -0400
commitcc6e304af1b7021c7ee471f55c0674dac1bfb253 (patch)
tree50a7d3a9992d55257097d64dfacf99d09e731542 /audio/softsynth
parent4c6724c5faabad1618e5d538ec27a1c334ed4c6e (diff)
downloadscummvm-rg350-cc6e304af1b7021c7ee471f55c0674dac1bfb253.tar.gz
scummvm-rg350-cc6e304af1b7021c7ee471f55c0674dac1bfb253.tar.bz2
scummvm-rg350-cc6e304af1b7021c7ee471f55c0674dac1bfb253.zip
AUDIO: Limit the DOSBox start(0) hack to only being called once
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/opl/dosbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/softsynth/opl/dosbox.cpp b/audio/softsynth/opl/dosbox.cpp
index f6f17c5e3c..09200c7c8d 100644
--- a/audio/softsynth/opl/dosbox.cpp
+++ b/audio/softsynth/opl/dosbox.cpp
@@ -178,7 +178,8 @@ bool OPL::init() {
}
// FIXME: Remove this once EmulatedOPL is actually controlling playback
- start(0);
+ if (!_callback)
+ start(0);
return true;
}