aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2012-05-31 11:39:54 +1000
committerTravis Howell2012-05-31 11:40:21 +1000
commit4aec92e5e9d00d7a9b38d893682823777e088256 (patch)
tree7303ec53a4aa0181ee1e0286aa86cea6c8d568fd /engines/scumm/scumm.cpp
parent403b646c13f0729a32c21f89a2e9284d84df34cf (diff)
downloadscummvm-rg350-4aec92e5e9d00d7a9b38d893682823777e088256.tar.gz
scummvm-rg350-4aec92e5e9d00d7a9b38d893682823777e088256.tar.bz2
scummvm-rg350-4aec92e5e9d00d7a9b38d893682823777e088256.zip
SCUMM: Backyard Baseball 2003 uses a unique variable for the subtitle setting, fixes changing subtitles via ScummVM.
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index fc46f88df4..d0f46f3e56 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1917,6 +1917,13 @@ void ScummEngine::syncSoundSettings() {
if (VAR_CHARINC != 0xFF)
VAR(VAR_CHARINC) = _defaultTalkDelay;
}
+
+ // Backyard Baseball 2003 uses a unique subtitle variable,
+ // rather than VAR_SUBTITLES
+ if (_game.id == GID_BASEBALL2003) {
+ _scummVars[632] = ConfMan.getBool("subtitles");
+ }
+
}
void ScummEngine::setTalkSpeed(int talkspeed) {