diff options
Diffstat (limited to 'engines/sci/sound/midiparser_sci.h')
-rw-r--r-- | engines/sci/sound/midiparser_sci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.h b/engines/sci/sound/midiparser_sci.h index 19d3a3c888..f95c71ce2f 100644 --- a/engines/sci/sound/midiparser_sci.h +++ b/engines/sci/sound/midiparser_sci.h @@ -67,6 +67,8 @@ public: } void pause() { allNotesOff(); + if (_resetOnPause) + jumpToTick(0); } protected: @@ -86,6 +88,7 @@ protected: int16 _signalToSet; bool _dataincAdd; int16 _dataincToAdd; + bool _resetOnPause; // A 16-bit mask, containing the channels used // by the currently parsed song |