aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-09-19 11:12:41 -0500
committerColin Snover2017-09-19 20:00:28 -0500
commit52d9d049195d99ffe6215716915fc0769a3bc3c7 (patch)
treebc6f6bf1c32ccc48327a634f7e186a038936534f
parent2dc042d540da8285fc1ecd47c3da888b6c071acf (diff)
downloadscummvm-rg350-52d9d049195d99ffe6215716915fc0769a3bc3c7.tar.gz
scummvm-rg350-52d9d049195d99ffe6215716915fc0769a3bc3c7.tar.bz2
scummvm-rg350-52d9d049195d99ffe6215716915fc0769a3bc3c7.zip
SCI32: Fix inconsistent patch instruction comments
I missed these lines when going through things earlier.
-rw-r--r--engines/sci/engine/script_patches.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index c2f041af72..a5d2a67b94 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -4417,14 +4417,14 @@ static const uint16 pq4CdSpeechAndSubtitlesPatch[] = {
// iconText::select
PATCH_ADDTOOFFSET(+10), // skip over the super code
- 0xc1, 0x5a, // plusag 5Ah (increase 5Ah by one)
- 0xa1, 0x5a, // sag 5Ah (save)
+ 0xc1, 0x5a, // +ag $5a
+ 0xa1, 0x5a, // sag $5a
0x36, // push
- 0x35, 0x04, // ldi 04
+ 0x35, 0x04, // ldi 4
0x28, // uge?
0x31, 0x03, // bnt [skip over follow up code]
0x78, // push1
- 0xa9, 0x5a, // ssg 5Ah (save)
+ 0xa9, 0x5a, // ssg $5a
0x76, // push0
0x41, 0x99, PATCH_UINT16(0x00), // call [our new subroutine which sets view+loop+cel, effectively -103], 0
0x33, 0x2f, // jmp [to end of original select, show call]