From cc6e304af1b7021c7ee471f55c0674dac1bfb253 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 21 Apr 2015 00:42:32 -0400 Subject: AUDIO: Limit the DOSBox start(0) hack to only being called once --- audio/softsynth/opl/dosbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio/softsynth') 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; } -- cgit v1.2.3