diff options
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index e89d05217c..1e3ab2ae34 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -1123,7 +1123,20 @@ void SciEngine::syncIngameAudioOptions() { #ifdef ENABLE_SCI32 if (getSciVersion() >= SCI_VERSION_2) { - _gamestate->variables[VAR_GLOBAL][kGlobalVarTextSpeed] = make_reg(0, 8 - ConfMan.getInt("talkspeed") * 8 / 255); + GlobalVar index; + uint16 textSpeed; + + switch (g_sci->getGameId()) { + case GID_LSL6HIRES: + index = kGlobalVarLSL6HiresTextSpeed; + textSpeed = 14 - ConfMan.getInt("talkspeed") * 14 / 255 + 1; + break; + default: + index = kGlobalVarTextSpeed; + textSpeed = 8 - ConfMan.getInt("talkspeed") * 8 / 255; + } + + _gamestate->variables[VAR_GLOBAL][index] = make_reg(0, textSpeed); } #endif |