aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorColin Snover2017-09-16 01:41:17 -0500
committerColin Snover2017-09-16 16:33:08 -0500
commitb9600bf466bb722a98c6857d498161f17977001d (patch)
tree60714cd4d80cf5565e90ec4294ecd11a3905a5e9 /engines/sci/engine
parent6fc09ae7c91f4229e6bded55b474c2b41b1cc853 (diff)
downloadscummvm-rg350-b9600bf466bb722a98c6857d498161f17977001d.tar.gz
scummvm-rg350-b9600bf466bb722a98c6857d498161f17977001d.tar.bz2
scummvm-rg350-b9600bf466bb722a98c6857d498161f17977001d.zip
SCI32: Clean-up pass on Phant2 script patches
* Minor clarity fixes to comments * Make patch descriptions and patch table ordering consistent
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script_patches.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 9262440ea2..229585e7d2 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -3777,8 +3777,8 @@ static const uint16 phant2RatboyPatch[] = {
// Applies to at least: US English
static const uint16 phant2AudioVolumeSignature[] = {
SIG_MAGICDWORD,
- 0x39, 0x7f, // pushi 127 (clientMax)
- 0x39, 0x14, // pushi 20 (clientPageSize)
+ 0x39, 0x7f, // pushi 127 (clientMax value)
+ 0x39, 0x14, // pushi 20 (clientPageSize value)
SIG_ADDTOOFFSET(+10), // skip other init arguments
0x51, 0x5e, // class P2ScrollBar
SIG_ADDTOOFFSET(+3), // skip send
@@ -3992,8 +3992,8 @@ static const uint16 phant2InvOffsetPatch[] = {
// script, description, signature patch
static const SciScriptPatcherEntry phantasmagoria2Signatures[] = {
- { true, 0, "slow interface fades", 3, phant2SlowIFadeSignature, phant2SlowIFadePatch },
- { true, 0, "bad arguments to get game version", 1, phant2GetVersionSignature, phant2GetVersionPatch },
+ { true, 0, "speed up interface fades", 3, phant2SlowIFadeSignature, phant2SlowIFadePatch },
+ { true, 0, "fix bad arguments to get game version", 1, phant2GetVersionSignature, phant2GetVersionPatch },
{ true, 3000, "replace spin loop in alien password window", 1, phant2WaitParam1Signature, phant2WaitParam1Patch },
{ true, 4081, "replace spin loop after ratboy puzzle", 1, phant2RatboySignature, phant2RatboyPatch },
{ true, 63001, "fix inventory left scroll delta", 1, phant2InvLeftDeltaSignature, phant2InvLeftDeltaPatch },
@@ -4006,9 +4006,9 @@ static const SciScriptPatcherEntry phantasmagoria2Signatures[] = {
{ true, 63019, "fix bad doc/email name & memo positioning", 2, phant2BadPositionSignature, phant2BadPositionPatch },
{ true, 63019, "fix bad folder/doc icon refresh", 2, phant2BadIconSignature, phant2BadIconPatch },
{ true, 64990, "remove save game name mangling (1/2)", 1, phant2SaveNameSignature1, phant2SaveNamePatch1 },
+ { true, 64990, "increase number of save games (1/2)", 1, phant2NumSavesSignature1, phant2NumSavesPatch1 },
+ { true, 64990, "increase number of save games (2/2)", 2, phant2NumSavesSignature2, phant2NumSavesPatch2 },
{ true, 64994, "remove save game name mangling (2/2)", 1, phant2SaveNameSignature2, phant2SaveNamePatch2 },
- { true, 64990, "increase number of save games", 1, phant2NumSavesSignature1, phant2NumSavesPatch1 },
- { true, 64990, "increase number of save games", 2, phant2NumSavesSignature2, phant2NumSavesPatch2 },
SCI_SIGNATUREENTRY_TERMINATOR
};