diff options
author | Colin Snover | 2017-09-16 01:43:15 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-16 16:33:08 -0500 |
commit | 34683f1725edde081653f45e2a532d4f9bcc3259 (patch) | |
tree | 97a04856bb4b30b0e6f15b118d126a6950530a77 | |
parent | b9600bf466bb722a98c6857d498161f17977001d (diff) | |
download | scummvm-rg350-34683f1725edde081653f45e2a532d4f9bcc3259.tar.gz scummvm-rg350-34683f1725edde081653f45e2a532d4f9bcc3259.tar.bz2 scummvm-rg350-34683f1725edde081653f45e2a532d4f9bcc3259.zip |
SCI32: Clean-up pass on PQ:SWAT script patches
* Make patch descriptions consistent
-rw-r--r-- | engines/sci/engine/script_patches.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 229585e7d2..fc4d0faa26 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -4496,7 +4496,7 @@ static const SciScriptPatcherEntry pq4Signatures[] = { // master sound volume to 127, but the game should always use the volume stored // in ScummVM. // Applies to at least: English CD -static const uint16 pqSwatSignatureVolumeReset1[] = { +static const uint16 pqSwatVolumeResetSignature[] = { SIG_MAGICDWORD, 0x38, SIG_SELECTOR16(masterVolume), // pushi masterVolume 0x78, // push1 @@ -4505,14 +4505,14 @@ static const uint16 pqSwatSignatureVolumeReset1[] = { SIG_END }; -static const uint16 pqSwatPatchVolumeReset1[] = { +static const uint16 pqSwatVolumeResetPatch[] = { 0x32, PATCH_UINT16(6), // jmp 6 [past volume reset] PATCH_END }; // script, description, signature patch static const SciScriptPatcherEntry pqSwatSignatures[] = { - { true, 0, "disable volume reset on startup (1/2)", 1, pqSwatSignatureVolumeReset1, pqSwatPatchVolumeReset1 }, + { true, 0, "disable volume reset on startup (1/2)", 1, pqSwatVolumeResetSignature, pqSwatVolumeResetPatch }, { true, 1, "disable volume reset on startup (2/2)", 1, sci2VolumeResetSignature, sci2VolumeResetPatch }, SCI_SIGNATUREENTRY_TERMINATOR }; |