mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
SCI: Fixed bug #3034519, "GK1 Demo: kIsObject Sig Mismatch".
svn-id: r51305
This commit is contained in:
parent
d85e016406
commit
e131440821
@ -373,7 +373,7 @@ static SciKernelMapEntry s_kernelMap[] = {
|
||||
{ MAP_CALL(InitBresen), SIG_EVERYWHERE, "o(i)", NULL, NULL },
|
||||
{ MAP_CALL(Intersections), SIG_EVERYWHERE, "iiiiriiiri", NULL, NULL },
|
||||
{ MAP_CALL(IsItSkip), SIG_EVERYWHERE, "iiiii", NULL, NULL },
|
||||
{ MAP_CALL(IsObject), SIG_EVERYWHERE, ".", NULL, NULL },
|
||||
{ MAP_CALL(IsObject), SIG_EVERYWHERE, ".", NULL, kIsObject_workarounds },
|
||||
{ MAP_CALL(Joystick), SIG_EVERYWHERE, "i(.*)", NULL, NULL }, // subop
|
||||
{ MAP_CALL(LastNode), SIG_EVERYWHERE, "l", NULL, NULL },
|
||||
{ MAP_CALL(Load), SIG_EVERYWHERE, "ii(i*)", NULL, NULL },
|
||||
|
@ -184,6 +184,12 @@ const SciWorkaroundEntry kGraphRedrawBox_workarounds[] = {
|
||||
SCI_WORKAROUNDENTRY_TERMINATOR
|
||||
};
|
||||
|
||||
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
|
||||
const SciWorkaroundEntry kIsObject_workarounds[] = {
|
||||
{ GID_GK1, 50, 999, 0, "List", "eachElementDo", -1, 0, { WORKAROUND_FAKE, 0 } }, // GK1 demo, when asking Grace for messages it gets called with an invalid parameter (type "error")
|
||||
SCI_WORKAROUNDENTRY_TERMINATOR
|
||||
};
|
||||
|
||||
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
|
||||
const SciWorkaroundEntry kMemory_workarounds[] = {
|
||||
{ GID_LAURABOW2, 160, 999, 0, "", "export 6", -1, 0, { WORKAROUND_FAKE, 0 } }, // during the intro, when exiting the train
|
||||
|
@ -83,6 +83,7 @@ extern const SciWorkaroundEntry kGraphRestoreBox_workarounds[];
|
||||
extern const SciWorkaroundEntry kGraphFillBoxForeground_workarounds[];
|
||||
extern const SciWorkaroundEntry kGraphFillBoxAny_workarounds[];
|
||||
extern const SciWorkaroundEntry kGraphRedrawBox_workarounds[];
|
||||
extern const SciWorkaroundEntry kIsObject_workarounds[];
|
||||
extern const SciWorkaroundEntry kMemory_workarounds[];
|
||||
extern const SciWorkaroundEntry kPaletteUnsetFlag_workarounds[];
|
||||
extern const SciWorkaroundEntry kSetPort_workarounds[];
|
||||
|
Loading…
Reference in New Issue
Block a user