[Scummvm-git-logs] scummvm master -> efb903204d190592d18c58f827dc402ccd202bf9
sev-
noreply at scummvm.org
Thu Dec 28 00:52:57 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
efb903204d COMMON: Added more global debug levels
Commit: efb903204d190592d18c58f827dc402ccd202bf9
https://github.com/scummvm/scummvm/commit/efb903204d190592d18c58f827dc402ccd202bf9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-12-28T01:52:44+01:00
Commit Message:
COMMON: Added more global debug levels
Changed paths:
common/debug.cpp
common/debug.h
diff --git a/common/debug.cpp b/common/debug.cpp
index 34da705bd0e..635065a03f7 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -34,6 +34,8 @@ bool gDebugChannelsOnly = false;
const DebugChannelDef gDebugChannels[] = {
{ kDebugLevelEventRec, "eventrec", "Event recorder debug level" },
{ kDebugGlobalDetection, "detection", "debug messages for advancedDetector" },
+ { kDebugLevelGUI, "gui", "debug messages for GUI" },
+ { kDebugLevelMacGUI, "macgui", "debug messages for MacGUI" },
DEBUG_CHANNEL_END
};
namespace Common {
diff --git a/common/debug.h b/common/debug.h
index 6939fc3a7a0..36f57c6eddf 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -162,7 +162,9 @@ extern bool gDebugChannelsOnly;
/** Global constant for EventRecorder debug channel. */
enum GlobalDebugLevels {
kDebugGlobalDetection = 100000,
- kDebugLevelEventRec
+ kDebugLevelEventRec,
+ kDebugLevelGUI,
+ kDebugLevelMacGUI,
};
extern const DebugChannelDef gDebugChannels[];
More information about the Scummvm-git-logs
mailing list