[Scummvm-git-logs] scummvm master -> f01a0314f693e3cfad549279f95d828e7ce2bbf9
sluicebox
noreply at scummvm.org
Sun Mar 12 22:45:04 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:
f01a0314f6 GLK: ARCHETYPE: Fix debug flag values
Commit: f01a0314f693e3cfad549279f95d828e7ce2bbf9
https://github.com/scummvm/scummvm/commit/f01a0314f693e3cfad549279f95d828e7ce2bbf9
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2023-03-12T15:44:12-07:00
Commit Message:
GLK: ARCHETYPE: Fix debug flag values
The ARCHETYPE subengine used the same debug flag values as the
GLK engine, causing them to be registered with DebugManager twice.
In May 2021, DebugManager was changed to make this an error:
44e2285003af61fd463db9e683477bfbdbd05873
Changed paths:
engines/glk/archetype/archetype.h
diff --git a/engines/glk/archetype/archetype.h b/engines/glk/archetype/archetype.h
index 5f1736729b6..b022b0c3f2e 100644
--- a/engines/glk/archetype/archetype.h
+++ b/engines/glk/archetype/archetype.h
@@ -34,11 +34,12 @@
namespace Glk {
namespace Archetype {
+// Values must be different than Glk::GlkDebugChannels
enum DebugFlag {
- DEBUG_BYTES = 0x01,
- DEBUG_MSGS = 0x02,
- DEBUG_EXPR = 0x04,
- DEBUG_STMT = 0x08
+ DEBUG_BYTES = 1 << 10,
+ DEBUG_MSGS = 1 << 11,
+ DEBUG_EXPR = 1 << 12,
+ DEBUG_STMT = 1 << 13
};
/**
More information about the Scummvm-git-logs
mailing list