mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
Fix VAR_VOICE_MODE in COMI
svn-id: r13051
This commit is contained in:
parent
5df1bd8b49
commit
793bc427de
@ -1483,7 +1483,9 @@ void ScummEngine_v8::o8_kernelGetFunctions() {
|
||||
// scripts. Probably a wrong push/pop somewhere. For now override to correct value.
|
||||
array = 658;
|
||||
ArrayHeader *ah = (ArrayHeader *)getResourceAddress(rtString, readVar(array));
|
||||
if (!strcmp((char *)ah->data, "Saveload Page") || !strcmp((char *)ah->data, "Object Names"))
|
||||
if (!strcmp((char *)ah->data, "Text Status"))
|
||||
push(ConfMan.getBool("subtitles"));
|
||||
else if (!strcmp((char *)ah->data, "Saveload Page") || !strcmp((char *)ah->data, "Object Names"))
|
||||
push(1);
|
||||
else
|
||||
push(0);
|
||||
|
@ -1204,7 +1204,7 @@ void ScummEngine::initScummVars() {
|
||||
if (_gameId == GID_MONKEY || _gameId == GID_MONKEY_SEGA)
|
||||
_scummVars[74] = 1225;
|
||||
|
||||
if (_version >= 7)
|
||||
if (_version == 7)
|
||||
VAR(VAR_VOICE_MODE) = ConfMan.getBool("subtitles");
|
||||
|
||||
VAR(VAR_CHARINC) = 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user