Ticket #8588: enabledebug.patch
File enabledebug.patch, 794 bytes (added by , 18 years ago) |
---|
-
base/main.cpp
215 215 // As a last resort add current directory 216 216 Common::File::addDefaultDirectory("."); 217 217 218 // Now the engine should've set up all debug levels so we can use the command line arugments here 219 Common::enableSpecialDebugLevelList(edebuglevels); 220 218 221 int result; 219 222 220 223 // Init the engine (this might change the screen parameters 221 224 result = engine->init(); 222 225 223 // Now the engine should've set up all debug levels so we can use the command line arugments here224 Common::enableSpecialDebugLevelList(edebuglevels);225 226 226 // Run the game engine if the initialization was successful. 227 227 if (result == 0) { 228 228 result = engine->go();