GUI: Revert clearing debug flags on save/load dialog
Fixes clearing all debug flags set on the command line
whenever the ScummVM save/load dialog is displayed from
within a game.
This reverts commit 1c4e15599f
This commit is contained in:
parent
dc95314c1a
commit
90f836a342
1 changed files with 0 additions and 5 deletions
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include "common/config-manager.h"
|
||||
#include "common/system.h"
|
||||
#include "common/debug-channels.h"
|
||||
|
||||
#include "gui/saveload.h"
|
||||
#include "gui/saveload-dialog.h"
|
||||
|
@ -81,10 +80,6 @@ int SaveLoadChooser::runModalWithCurrentTarget() {
|
|||
if (!g_engine)
|
||||
error("No engine is currently active");
|
||||
|
||||
const MetaEngineDetection &metaEngineDetection = g_engine->getMetaEngineDetection();
|
||||
DebugMan.debugFlagsClear();
|
||||
DebugMan.debugFlagsRegister(metaEngineDetection.getDebugChannels());
|
||||
|
||||
return runModalWithMetaEngineAndTarget(g_engine->getMetaEngine(), ConfMan.getActiveDomainName());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue