[Scummvm-cvs-logs] SF.net SVN: scummvm: [32329] scummvm/branches/gsoc2008-rtl/engines/agi/agi. cpp

cpage88 at users.sourceforge.net cpage88 at users.sourceforge.net
Tue May 27 22:15:36 CEST 2008


Revision: 32329
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32329&view=rev
Author:   cpage88
Date:     2008-05-27 13:15:36 -0700 (Tue, 27 May 2008)

Log Message:
-----------
AGI: Modified AGI Engine to shutdown without using system->quit

Modified Paths:
--------------
    scummvm/branches/gsoc2008-rtl/engines/agi/agi.cpp

Modified: scummvm/branches/gsoc2008-rtl/engines/agi/agi.cpp
===================================================================
--- scummvm/branches/gsoc2008-rtl/engines/agi/agi.cpp	2008-05-27 19:36:39 UTC (rev 32328)
+++ scummvm/branches/gsoc2008-rtl/engines/agi/agi.cpp	2008-05-27 20:15:36 UTC (rev 32329)
@@ -62,9 +62,7 @@
 	while (_eventMan->pollEvent(event)) {
 		switch (event.type) {
 		case Common::EVENT_QUIT:
-			_gfx->deinitVideo();
-			_gfx->deinitMachine();
-			_system->quit();
+			_game.quitProgNow = true;
 			break;
 		case Common::EVENT_PREDICTIVE_DIALOG:
 			if (_predictiveDialogRunning)


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