BASE: Allow setting the debug flags from the configuration file
Useful for devices where passing command line arguments is not possible.
This commit is contained in:
parent
c4e8ea9e54
commit
8294d55a53
1 changed files with 2 additions and 1 deletions
|
@ -388,7 +388,8 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
|||
if (settings.contains("debugflags")) {
|
||||
specialDebug = settings["debugflags"];
|
||||
settings.erase("debugflags");
|
||||
}
|
||||
} else if (ConfMan.hasKey("debugflags"))
|
||||
specialDebug = ConfMan.get("debugflags");
|
||||
|
||||
PluginManager::instance().init();
|
||||
PluginManager::instance().loadAllPlugins(); // load plugins for cached plugin manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue