mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
BASE: Capture all global debug channels as early as possible
This commit is contained in:
parent
ed09f11eaa
commit
fef26b3c59
@ -441,6 +441,16 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
||||
gDebugChannelsOnly = true;
|
||||
|
||||
|
||||
// Now we want to enable global flags if any
|
||||
Common::StringTokenizer tokenizer(specialDebug, " ,");
|
||||
while (!tokenizer.empty()) {
|
||||
Common::String token = tokenizer.nextToken();
|
||||
if (token.equalsIgnoreCase("all"))
|
||||
DebugMan.enableAllDebugChannels();
|
||||
else
|
||||
DebugMan.enableDebugChannel(token);
|
||||
}
|
||||
|
||||
ConfMan.registerDefault("always_run_fallback_detection_extern", true);
|
||||
PluginManager::instance().init();
|
||||
PluginManager::instance().loadAllPlugins(); // load plugins for cached plugin manager
|
||||
|
Loading…
x
Reference in New Issue
Block a user