Ticket #6074: sq4-workaround-for-bug-3539350.patch

File sq4-workaround-for-bug-3539350.patch, 1.5 KB (added by digitall, 12 years ago)

SQ4 Workaround Patch

  • engines/sci/engine/workarounds.cpp

    diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
    index ecb1e4c..c6328aa 100644
    a b const SciWorkaroundEntry uninitializedReadWorkarounds[] = {  
    163163        { GID_SQ1,            -1,   703,  0,         "firePulsar", "changeState", 0x18a,    0, { WORKAROUND_FAKE,   0 } }, // export 1, but called locally (when shooting at aliens)
    164164        { GID_SQ4,            -1,   398,  0,            "showBox", "changeState",    -1,    0, { WORKAROUND_FAKE,   0 } }, // CD: called when rummaging in Software Excess bargain bin
    165165        { GID_SQ4,            -1,   928,  0,           "Narrator", "startText",      -1, 1000, { WORKAROUND_FAKE,   1 } }, // CD: method returns this to the caller
     166        { GID_SQ4,            -1,   928,  0,       "theProfessor", "startText",      -1, 1000, { WORKAROUND_FAKE,   1 } }, // CD: method returns this to the caller
    166167        { GID_SQ5,           201,   201,  0,        "buttonPanel", "doVerb",         -1,    0, { WORKAROUND_FAKE,   1 } }, // when looking at the orange or red button - bug #3038563
    167168        { GID_SQ6,            -1,     0,  0,                "SQ6", "init",           -1,    2, { WORKAROUND_FAKE,   0 } }, // Demo and full version: called when the game starts (demo: room 0, full: room 100)
    168169        { GID_SQ6,           100, 64950,  0,               "View", "handleEvent",    -1,    0, { WORKAROUND_FAKE,   0 } }, // called when pressing "Start game" in the main menu