[Scummvm-git-logs] scummvm master -> 2f20fc4fd466a64ffd3b4f323052b71341909d38
AndywinXp
noreply at scummvm.org
Fri Aug 9 11:33:10 UTC 2024
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:
2f20fc4fd4 SCUMM: MANIAC: Restrict targets of kiosk demo GUI option
Commit: 2f20fc4fd466a64ffd3b4f323052b71341909d38
https://github.com/scummvm/scummvm/commit/2f20fc4fd466a64ffd3b4f323052b71341909d38
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-08-09T13:33:02+02:00
Commit Message:
SCUMM: MANIAC: Restrict targets of kiosk demo GUI option
Changed paths:
engines/scumm/metaengine.cpp
diff --git a/engines/scumm/metaengine.cpp b/engines/scumm/metaengine.cpp
index 8642370e680..132373a19e4 100644
--- a/engines/scumm/metaengine.cpp
+++ b/engines/scumm/metaengine.cpp
@@ -752,8 +752,8 @@ static const ExtraGuiOption enableCopyProtection = {
};
static const ExtraGuiOption mmDemoObjectLabelsOption = {
- _s("Enable demo/kisok mode"),
- _s("Enable demo/kiosk mode in the full retail version of Maniac Mansion. Beware, not every version supports this."),
+ _s("Enable demo/kiosk mode"),
+ _s("Enable demo/kiosk mode in the full retail version of Maniac Mansion."),
"enable_demo_mode",
false,
0,
@@ -807,7 +807,10 @@ const ExtraGuiOptions ScummMetaEngine::getExtraGuiOptions(const Common::String &
#endif
}
if (target.empty() || gameid == "maniac") {
- options.push_back(mmDemoObjectLabelsOption);
+ // The kiosk demo is only available on Maniac v1
+ bool isValidTarget = !extra.contains("Demo") && extra.contains("V1");
+ if (isValidTarget)
+ options.push_back(mmDemoObjectLabelsOption);
}
// The Steam Mac versions of Loom and Indy 3 are more akin to the VGA
// DOS versions, and that's how ScummVM usually sees them. But that
More information about the Scummvm-git-logs
mailing list