aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/opl/dosbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/opl/dosbox.cpp')
-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;
}