[Scummvm-cvs-logs] SF.net SVN: scummvm: [23111] scummvm/branches/branch-0-9-0/base/main.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jun 14 21:44:29 CEST 2006
Revision: 23111
Author: lordhoto
Date: 2006-06-14 12:44:22 -0700 (Wed, 14 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23111&view=rev
Log Message:
-----------
Should fix --debugflags for all engines which set up the debug flags in Engine::init.
Modified Paths:
--------------
scummvm/branches/branch-0-9-0/base/main.cpp
Modified: scummvm/branches/branch-0-9-0/base/main.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/base/main.cpp 2006-06-14 19:43:25 UTC (rev 23110)
+++ scummvm/branches/branch-0-9-0/base/main.cpp 2006-06-14 19:44:22 UTC (rev 23111)
@@ -205,9 +205,6 @@
return 0;
}
- // Now the engine should've set up all debug levels so we can use the command line arugments here
- Common::enableSpecialDebugLevelList(edebuglevels);
-
// Set the window caption to the game name
Common::String caption(ConfMan.get("description"));
@@ -240,6 +237,9 @@
// Init the engine (this might change the screen parameters
result = engine->init();
+ // Now the engine should've set up all debug levels so we can use the command line arugments here
+ Common::enableSpecialDebugLevelList(edebuglevels);
+
// Run the game engine if the initialization was successful.
if (result == 0) {
result = engine->go();
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