[Scummvm-cvs-logs] SF.net SVN: scummvm: [27838] scummvm/trunk/base/main.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jul 1 22:29:28 CEST 2007
Revision: 27838
http://scummvm.svn.sourceforge.net/scummvm/?rev=27838&view=rev
Author: fingolfin
Date: 2007-07-01 13:29:28 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Patch #1595026: engine init/shutdown OSystem methods
Modified Paths:
--------------
scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp 2007-07-01 20:28:57 UTC (rev 27837)
+++ scummvm/trunk/base/main.cpp 2007-07-01 20:29:28 UTC (rev 27838)
@@ -203,6 +203,9 @@
// the command line arugments here
Common::enableSpecialDebugLevelList(edebuglevels);
+ // Inform backend that the engine is about to be run
+ system.engineInit();
+
int result;
// Init the engine (this might change the screen parameters)
@@ -216,6 +219,9 @@
// TODO: Set an error flag, notify user about the problem
}
+ // Inform backend that the engine finished
+ system.engineDone();
+
// We clear all debug levels again even though the engine should do it
Common::clearAllSpecialDebugLevels();
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