aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2016-08-23 12:22:27 +0300
committerFilippos Karapetis2016-08-23 12:22:27 +0300
commit6ce472a12a37f54ca00e6d4262eac42e75f9863a (patch)
tree2a1dae53eee79dce409f527b2a40a6c99c8b81d9 /engines/sci
parent3d1f1a3a21edd66f20f8de707ddcfcc8d97d13a6 (diff)
downloadscummvm-rg350-6ce472a12a37f54ca00e6d4262eac42e75f9863a.tar.gz
scummvm-rg350-6ce472a12a37f54ca00e6d4262eac42e75f9863a.tar.bz2
scummvm-rg350-6ce472a12a37f54ca00e6d4262eac42e75f9863a.zip
SCI32: Update the SCI2/SCI2.1 games that use global 90 for speech/subs
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sci.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 6c51060296..900dabe05a 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -1035,17 +1035,19 @@ void SciEngine::syncIngameAudioOptions() {
case GID_SQ6: // SCI2.1
case GID_TORIN: // SCI2.1
case GID_QFG4: // SCI2.1
+ case GID_PQ4: // SCI2
+ case GID_PHANTASMAGORIA: // SCI2.1
+ case GID_MOTHERGOOSEHIRES: // SCI2.1
useGlobal90 = true;
break;
case GID_LSL6: // SCI2.1
// TODO: Uses gameFlags array
break;
+ // Shivers does not use global 90
+ // Police Quest: SWAT does not use global 90
+ //
// TODO: Unknown at the moment:
- // Shivers - seems not to use global 90
- // Police Quest: SWAT - unable to check
- // Police Quest 4 - unable to check
- // Mixed Up Mother Goose - unable to check
- // Phantasmagoria - seems to use global 90, unable to check for subtitles atm
+ // LSL7, Lighthouse, RAMA, Phantasmagoria 2
default:
return;
}
@@ -1079,6 +1081,9 @@ void SciEngine::syncIngameAudioOptions() {
case GID_SQ6: // SCI2.1, SQ6 seems to always use subtitles anyway
case GID_TORIN: // SCI2.1
case GID_QFG4: // SCI2.1
+ case GID_PQ4: // SCI2
+ // Phantasmagoria does not support simultaneous speech + subtitles
+ // Mixed Up Mother Goose Deluxe does not support simultaneous speech + subtitles
#endif // ENABLE_SCI32
_gamestate->variables[VAR_GLOBAL][90] = make_reg(0, 3); // speech + subtitles
break;