[Scummvm-git-logs] scummvm master -> 6744600f57582d8b7b568d59f2ef3d48760f3f40
bluegr
noreply at scummvm.org
Mon Jan 17 22:22:38 UTC 2022
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:
6744600f57 SCI: Handle saving via the GMM for LB2 floppy
Commit: 6744600f57582d8b7b568d59f2ef3d48760f3f40
https://github.com/scummvm/scummvm/commit/6744600f57582d8b7b568d59f2ef3d48760f3f40
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-01-18T00:22:18+02:00
Commit Message:
SCI: Handle saving via the GMM for LB2 floppy
LB2 floppy is one of the few full version games that was shipped
without a selector vocabulary. Add the necessary selectors for it,
so that saving via the GMM is correctly enabled
Changed paths:
engines/sci/engine/static_selectors.cpp
diff --git a/engines/sci/engine/static_selectors.cpp b/engines/sci/engine/static_selectors.cpp
index c0704f11fc6..a8967bc2d73 100644
--- a/engines/sci/engine/static_selectors.cpp
+++ b/engines/sci/engine/static_selectors.cpp
@@ -208,6 +208,12 @@ Common::StringArray Kernel::checkStaticSelectorNames() {
findSpecificSelectors(names);
+ // HACK for LB2 floppy, for saving via GMM
+ if (g_sci->getGameId() == GID_LAURABOW2) {
+ names[342] = "input";
+ names[343] = "controls";
+ }
+
for (const SelectorRemap *selectorRemap = sciSelectorRemap; selectorRemap->slot; ++selectorRemap) {
if (getSciVersion() >= selectorRemap->minVersion && getSciVersion() <= selectorRemap->maxVersion) {
const uint32 slot = selectorRemap->slot;
More information about the Scummvm-git-logs
mailing list