[Scummvm-cvs-logs] SF.net SVN: scummvm:[48630] scummvm/trunk/engines/scumm/saveload.cpp
salty-horse at users.sourceforge.net
salty-horse at users.sourceforge.net
Sun Apr 11 23:30:57 CEST 2010
Revision: 48630
http://scummvm.svn.sourceforge.net/scummvm/?rev=48630&view=rev
Author: salty-horse
Date: 2010-04-11 21:30:57 +0000 (Sun, 11 Apr 2010)
Log Message:
-----------
Apply patch #2984508 - "GSoC: SCUMM stopped audio from playing while saving"
This is a fix for bug #2090846 - "SCUMM: saving a game will play music before
finishing"
Modified Paths:
--------------
scummvm/trunk/engines/scumm/saveload.cpp
Modified: scummvm/trunk/engines/scumm/saveload.cpp
===================================================================
--- scummvm/trunk/engines/scumm/saveload.cpp 2010-04-11 19:57:27 UTC (rev 48629)
+++ scummvm/trunk/engines/scumm/saveload.cpp 2010-04-11 21:30:57 UTC (rev 48630)
@@ -184,6 +184,8 @@
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 @@
return false;
}
debug(1, "State saved as '%s'", filename.c_str());
+
+ pauseEngine(false);
+
return true;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list