SCI32: Add workaround for kScrollWindowAdd call in Phantasmagoria
This commit is contained in:
parent
ab864ba366
commit
ceee33ba2c
3 changed files with 8 additions and 1 deletions
|
@ -751,6 +751,12 @@ const SciWorkaroundEntry kUnLoad_workarounds[] = {
|
|||
SCI_WORKAROUNDENTRY_TERMINATOR
|
||||
};
|
||||
|
||||
// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
|
||||
const SciWorkaroundEntry kScrollWindowAdd_workarounds[] = {
|
||||
{ GID_PHANTASMAGORIA, 45, 64907, 0, "ScrollableWindow", "addString", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // ScrollWindow interface passes the last two parameters twice
|
||||
};
|
||||
|
||||
|
||||
SciWorkaroundSolution trackOriginAndFindWorkaround(int index, const SciWorkaroundEntry *workaroundList, SciTrackOriginReply *trackOrigin) {
|
||||
// HACK for SCI3: Temporarily ignore this
|
||||
if (getSciVersion() == SCI_VERSION_3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue