diff options
Diffstat (limited to 'engines/scumm/saveload.cpp')
-rw-r--r-- | engines/scumm/saveload.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index 8d5a021461..7362dcd8cf 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -184,6 +184,8 @@ bool ScummEngine::saveState(int slot, bool compat) { Common::String filename; Common::OutSaveFile *out; + pauseEngine(true); + if (_saveLoadSlot == 255) { // Allow custom filenames for save game system in HE Games filename = _saveLoadFileName; @@ -207,6 +209,9 @@ bool ScummEngine::saveState(int slot, bool compat) { return false; } debug(1, "State saved as '%s'", filename.c_str()); + + pauseEngine(false); + return true; } |