aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-09 14:03:34 +0100
committerMartin Kiewitz2016-02-09 14:03:34 +0100
commit4d5cc05eeec4f268533124911082aa0c146b0ed5 (patch)
tree9408101288d8b2c0315d7aba400cdf2c1335757b /engines/sci
parentc26d3fd62fc7b24035a11d078fa1a340e5151aae (diff)
downloadscummvm-rg350-4d5cc05eeec4f268533124911082aa0c146b0ed5.tar.gz
scummvm-rg350-4d5cc05eeec4f268533124911082aa0c146b0ed5.tar.bz2
scummvm-rg350-4d5cc05eeec4f268533124911082aa0c146b0ed5.zip
SCI: Add script patch kq6 dual mode CD-Audio
Script patch added, so that dual mode uses the same CD-Audio as regular Speech mode does during the ending (Girl in the Tower)
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/script_patches.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 2fe22ca4ed..fbc3113fb0 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -1203,8 +1203,10 @@ static const uint16 kq6CDPatchAudioTextSupportJumpAlways[] = {
};
// Fixes "Girl In The Tower" to get played in dual mode as well
+// Also changes credits to use CD audio for dual mode.
+//
// Applies to at least: PC-CD
-// Patched method: rm740::cue
+// Patched method: rm740::cue (script 740), sCredits::init (script 52)
static const uint16 kq6CDSignatureAudioTextSupportGirlInTheTower[] = {
SIG_MAGICDWORD,
0x89, 0x5a, // lsg global[5a]
@@ -1331,6 +1333,7 @@ static const SciScriptPatcherEntry kq6Signatures[] = {
{ false, 928, "CD: audio + text support KQ6 4", 1, kq6CDSignatureAudioTextSupport4, kq6CDPatchAudioTextSupport4 },
{ false, 1009, "CD: audio + text support KQ6 Guards", 2, kq6CDSignatureAudioTextSupportGuards, kq6CDPatchAudioTextSupportGuards },
{ false, 1027, "CD: audio + text support KQ6 Stepmother", 1, kq6CDSignatureAudioTextSupportStepmother, kq6CDPatchAudioTextSupportJumpAlways },
+ { false, 52, "CD: audio + text support KQ6 Girl In The Tower", 1, kq6CDSignatureAudioTextSupportGirlInTheTower, kq6CDPatchAudioTextSupportGirlInTheTower },
{ false, 740, "CD: audio + text support KQ6 Girl In The Tower", 1, kq6CDSignatureAudioTextSupportGirlInTheTower, kq6CDPatchAudioTextSupportGirlInTheTower },
{ false, 370, "CD: audio + text support KQ6 Azure & Ariel", 6, kq6CDSignatureAudioTextSupportAzureAriel, kq6CDPatchAudioTextSupportAzureAriel },
{ false, 903, "CD: audio + text support KQ6 menu", 1, kq6CDSignatureAudioTextMenuSupport, kq6CDPatchAudioTextMenuSupport },