[Scummvm-git-logs] scummvm master -> 0bd721c67faa7a94612c69d778cd5104f7f16dca
bluegr
noreply at scummvm.org
Thu Aug 20 20:35:45 UTC 2026
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:
0bd721c67f ENGINES: enhancementEnabled should be const
Commit: 0bd721c67faa7a94612c69d778cd5104f7f16dca
https://github.com/scummvm/scummvm/commit/0bd721c67faa7a94612c69d778cd5104f7f16dca
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2026-08-20T23:35:40+03:00
Commit Message:
ENGINES: enhancementEnabled should be const
Changed paths:
engines/engine.cpp
engines/engine.h
diff --git a/engines/engine.cpp b/engines/engine.cpp
index a2e92e1a241..cc7dbf5f0f0 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -235,7 +235,7 @@ void Engine::initializePath(const Common::FSNode &gamePath) {
SearchMan.addDirectory(gamePath, 0, 4);
}
-bool Engine::enhancementEnabled(int32 cls) {
+bool Engine::enhancementEnabled(int32 cls) const {
return _activeEnhancements & cls;
}
diff --git a/engines/engine.h b/engines/engine.h
index daaec3cdf5a..a7f8f313016 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -411,7 +411,7 @@ public:
*/
virtual bool hasFeature(EngineFeature f) const { return false; }
- bool enhancementEnabled(int32 cls);
+ bool enhancementEnabled(int32 cls) const;
/**
* Notify the engine that the sound settings in the config manager might have
More information about the Scummvm-git-logs
mailing list