mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +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;
|
int gDebugLevel = -1;
|
||||||
bool gDebugChannelsOnly = false;
|
bool gDebugChannelsOnly = false;
|
||||||
|
|
||||||
|
const DebugChannelDef gDebugChannels[] = {
|
||||||
|
{ kDebugLevelEventRec, "eventrec", "Event recorder debug level" },
|
||||||
|
{ kDebugGlobalDetection, "detection", "debug messages for advancedDetector" },
|
||||||
|
DEBUG_CHANNEL_END
|
||||||
|
};
|
||||||
namespace Common {
|
namespace Common {
|
||||||
|
|
||||||
DECLARE_SINGLETON(DebugManager);
|
DECLARE_SINGLETON(DebugManager);
|
||||||
|
@ -166,11 +166,7 @@ enum GlobalDebugLevels {
|
|||||||
kDebugLevelEventRec = 1 << 30
|
kDebugLevelEventRec = 1 << 30
|
||||||
};
|
};
|
||||||
|
|
||||||
static const DebugChannelDef gDebugChannels[] = {
|
extern const DebugChannelDef gDebugChannels[];
|
||||||
{kDebugLevelEventRec, "EventRec", "Event recorder debug level"},
|
|
||||||
{kDebugGlobalDetection, "Detection", "debug messages for advancedDetector"},
|
|
||||||
DEBUG_CHANNEL_END
|
|
||||||
};
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user