diff options
author | Colin Snover | 2017-02-03 23:04:53 -0600 |
---|---|---|
committer | Colin Snover | 2017-04-22 13:01:35 -0500 |
commit | 4c0f2a37384df0ba14f55f223f47a26f208d0199 (patch) | |
tree | 0683d1595f3be759ad35686bbf577c3fd410014b /engines/sci/engine/script_patches.cpp | |
parent | c8486395fab2d34b688c47a941a8a0c79cf164d1 (diff) | |
download | scummvm-rg350-4c0f2a37384df0ba14f55f223f47a26f208d0199.tar.gz scummvm-rg350-4c0f2a37384df0ba14f55f223f47a26f208d0199.tar.bz2 scummvm-rg350-4c0f2a37384df0ba14f55f223f47a26f208d0199.zip |
SCI: Move ScummVM kernel calls to 0xe0
Diffstat (limited to 'engines/sci/engine/script_patches.cpp')
-rw-r--r-- | engines/sci/engine/script_patches.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 97e53a0742..82a10d5e31 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -704,8 +704,8 @@ static const SciScriptPatcherEntry freddypharkasSignatures[] = { // Several scripts in Hoyle5 contain a subroutine which spins on kGetTime until // a certain number of ticks elapse. Since this wastes CPU and makes ScummVM // unresponsive, the kWait kernel function (which was removed in SCI2) is -// reintroduced at 0x4f in kernel.cpp only for Hoyle5, and the spin subroutines -// are patched here to call that function instead. +// reintroduced for Hoyle5, and the spin subroutines are patched here to call +// that function instead. // Applies to at least: English Demo static const uint16 hoyle5SignatureSpinLoop[] = { SIG_MAGICDWORD, @@ -719,10 +719,10 @@ static const uint16 hoyle5SignatureSpinLoop[] = { }; static const uint16 hoyle5PatchSpinLoop[] = { - 0x78, // push1 - 0x8f, 0x01, // lsp param[1] - 0x43, 0x4f, PATCH_UINT16(0x02), // callk Wait, $2 - 0x48, // ret + 0x78, // push1 + 0x8f, 0x01, // lsp param[1] + 0x43, kScummVMWaitId, PATCH_UINT16(0x02), // callk Wait, $2 + 0x48, // ret PATCH_END }; |