[Scummvm-cvs-logs] SF.net SVN: scummvm:[55584] scummvm/trunk/engines/mohawk
tdhs at users.sourceforge.net
tdhs at users.sourceforge.net
Fri Jan 28 09:37:27 CET 2011
Revision: 55584
http://scummvm.svn.sourceforge.net/scummvm/?rev=55584&view=rev
Author: tdhs
Date: 2011-01-28 08:37:27 +0000 (Fri, 28 Jan 2011)
Log Message:
-----------
MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter.
This avoids the same issue that caused leakage in other engines.
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/myst_scripts.cpp
scummvm/trunk/engines/mohawk/myst_stacks/credits.cpp
Modified: scummvm/trunk/engines/mohawk/myst_scripts.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_scripts.cpp 2011-01-28 08:07:50 UTC (rev 55583)
+++ scummvm/trunk/engines/mohawk/myst_scripts.cpp 2011-01-28 08:37:27 UTC (rev 55584)
@@ -910,7 +910,7 @@
}
void MystScriptParser::o_quit(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
- _vm->_system->quit();
+ _vm->quitGame();
}
} // End of namespace Mohawk
Modified: scummvm/trunk/engines/mohawk/myst_stacks/credits.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/credits.cpp 2011-01-28 08:07:50 UTC (rev 55583)
+++ scummvm/trunk/engines/mohawk/myst_stacks/credits.cpp 2011-01-28 08:37:27 UTC (rev 55584)
@@ -68,7 +68,7 @@
// After the 6th image has shown, it's time to quit
if (_curImage == 7)
- _vm->_system->quit();
+ _vm->quitGame();
// Draw next image
_vm->drawCardBackground();
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