Ticket #9163: saveAudio.patch

File saveAudio.patch, 558 bytes (added by SF/wickedshell, 14 years ago)
  • scummvm/trunk/engines/scumm/saveload.cpp

     
    180180}
    181181
    182182bool ScummEngine::saveState(int slot, bool compat) {
     183    pauseEngine(true);
    183184        bool saveFailed;
    184185        Common::String filename;
    185186        Common::OutSaveFile *out;
     
    207208                return false;
    208209        }
    209210        debug(1, "State saved as '%s'", filename.c_str());
     211    pauseEngine(false);
    210212        return true;
    211213}
    212214