[Scummvm-git-logs] scummvm master -> b24f9191c4a46757d8313444b450b8407b53fdc8
sev-
noreply at scummvm.org
Wed Jul 22 18:26:08 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:
b24f9191c4 CHAMBER: Honor the selected CGA/EGA variant when both are in one folder
Commit: b24f9191c4a46757d8313444b450b8407b53fdc8
https://github.com/scummvm/scummvm/commit/b24f9191c4a46757d8313444b450b8407b53fdc8
Author: Ion Andrei Cristian (lecturatul2017 at gmail.com)
Date: 2026-07-22T20:26:03+02:00
Commit Message:
CHAMBER: Honor the selected CGA/EGA variant when both are in one folder
The Steam release ships the CGA and EGA data files in the same
directory, so both DOS/US detection entries match. On launch, the
game description was re-detected using only gameid/language/platform,
which are identical for both entries, so the first match (CGA) was
always picked regardless of which entry the user selected in the
launcher. Use kADFlagUseExtraAsHint (as Lure does for its EGA/VGA
case) so the launcher stores extra=EGA and launch-time detection
filters on it.
Fixes bug #17004.
Changed paths:
engines/chamber/detection.cpp
diff --git a/engines/chamber/detection.cpp b/engines/chamber/detection.cpp
index 9973461f3d7..1a43176c168 100644
--- a/engines/chamber/detection.cpp
+++ b/engines/chamber/detection.cpp
@@ -95,6 +95,9 @@ static const ADGameDescription gameDescriptions[] = {
class ChamberMetaEngineDetection : public AdvancedMetaEngineDetection<ADGameDescription> {
public:
ChamberMetaEngineDetection() : AdvancedMetaEngineDetection(Chamber::gameDescriptions, Chamber::ChamberGames) {
+ // Use kADFlagUseExtraAsHint to distinguish between the CGA and EGA versions
+ // when both are present in the same directory (e.g. the Steam release)
+ _flags = kADFlagUseExtraAsHint;
}
const char *getName() const override {
More information about the Scummvm-git-logs
mailing list