[Scummvm-git-logs] scummvm master -> 2c94bc32badcc3ac0df913f1f8c9a85935cfb7c0

sluicebox noreply at scummvm.org
Mon Apr 18 01:14:42 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:
2c94bc32ba SCI: Fix LSL5 Mac password prompt


Commit: 2c94bc32badcc3ac0df913f1f8c9a85935cfb7c0
    https://github.com/scummvm/scummvm/commit/2c94bc32badcc3ac0df913f1f8c9a85935cfb7c0
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2022-04-17T21:14:10-04:00

Commit Message:
SCI: Fix LSL5 Mac password prompt

Changed paths:
    engines/sci/engine/workarounds.cpp


diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 33f307173b1..b001a0bba92 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -482,6 +482,7 @@ const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
 	{ GID_LSL1,          720,   720,  0,              "rm720", "init",                         nullptr,     0,     0, { WORKAROUND_FAKE,   0 } }, // age check room
 	{ GID_LSL2,           38,    38,  0,        "cloudScript", "changeState",                  nullptr,     1,     1, { WORKAROUND_FAKE,   0 } }, // entering the room in the middle deck of the ship - bug #5034
 	{ GID_LSL3,          340,   340,  0,        "ComicScript", "changeState",                  nullptr,    -1,    -1, { WORKAROUND_FAKE,   0 } }, // right after entering the 3 ethnic groups inside comedy club (temps 200, 201, 202, 203)
+	{ GID_LSL5,           -1,   175,  0,                   "", "export 0",                     nullptr,     1,     1, { WORKAROUND_FAKE,   0 } }, // mac: when asking for password the procedure returns an uninitialized variable. this return value is never used.
 	{ GID_LSL6,          820,    82,  0,                   "", "export 0",                     nullptr,     0,   326, { WORKAROUND_FAKE,   0 } }, // when touching the electric fence (temp 193 for English release, temp 293 for French/German, temp 313 for Spanish - used for setting the loop of the death animation), it's not setting it for this death - bug #5103
 	{ GID_LSL6,           -1,    85,  0,          "washcloth", "doVerb",                       nullptr,     0,     0, { WORKAROUND_FAKE,   0 } }, // washcloth in inventory
 	{ GID_LSL6,           -1,   928, -1,           "Narrator", "startText",                    nullptr,     0,     0, { WORKAROUND_FAKE,   0 } }, // used by various objects that are even translated in foreign versions, that's why we use the base-class




More information about the Scummvm-git-logs mailing list