[Scummvm-git-logs] scummvm master -> cd9a1380a28f9700f2900452b9721f34084b639e

lephilousophe noreply at scummvm.org
Tue Nov 11 17:49:21 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
cd9a1380a2 COMMON: Make debugLevelSet match with debug functions behaviour


Commit: cd9a1380a28f9700f2900452b9721f34084b639e
    https://github.com/scummvm/scummvm/commit/cd9a1380a28f9700f2900452b9721f34084b639e
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2025-11-11T18:47:05+01:00

Commit Message:
COMMON: Make debugLevelSet match with debug functions behaviour

Changed paths:
    common/debug.cpp


diff --git a/common/debug.cpp b/common/debug.cpp
index 66b0fdf5fdf..743e24e4863 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -177,7 +177,7 @@ void DebugManager::addDebugChannels(const DebugChannelDef *channels) {
 } // End of namespace Common
 
 bool debugLevelSet(int level) {
-	return level <= gDebugLevel;
+	return level <= gDebugLevel && !gDebugChannelsOnly;
 }
 
 bool debugChannelSet(int level, uint32 debugChannel) {




More information about the Scummvm-git-logs mailing list