mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
COMMON: Keep only one instance of global debug flags
This commit is contained in:
parent
436e47292e
commit
ed09f11eaa
@ -32,6 +32,11 @@
|
||||
int gDebugLevel = -1;
|
||||
bool gDebugChannelsOnly = false;
|
||||
|
||||
const DebugChannelDef gDebugChannels[] = {
|
||||
{ kDebugLevelEventRec, "eventrec", "Event recorder debug level" },
|
||||
{ kDebugGlobalDetection, "detection", "debug messages for advancedDetector" },
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
namespace Common {
|
||||
|
||||
DECLARE_SINGLETON(DebugManager);
|
||||
|
@ -166,11 +166,7 @@ enum GlobalDebugLevels {
|
||||
kDebugLevelEventRec = 1 << 30
|
||||
};
|
||||
|
||||
static const DebugChannelDef gDebugChannels[] = {
|
||||
{kDebugLevelEventRec, "EventRec", "Event recorder debug level"},
|
||||
{kDebugGlobalDetection, "Detection", "debug messages for advancedDetector"},
|
||||
DEBUG_CHANNEL_END
|
||||
};
|
||||
extern const DebugChannelDef gDebugChannels[];
|
||||
|
||||
/** @} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user