[Scummvm-git-logs] scummvm master -> c6ad6ca7fc97c947faf485cbc3f3cf7e9092b403
Die4Ever
noreply at scummvm.org
Fri Feb 18 09:55:36 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c6ad6ca7fc AGOS: simon1 subtitle fixes (#3712)
Commit: c6ad6ca7fc97c947faf485cbc3f3cf7e9092b403
https://github.com/scummvm/scummvm/commit/c6ad6ca7fc97c947faf485cbc3f3cf7e9092b403
Author: Die4Ever (30947252+Die4Ever at users.noreply.github.com)
Date: 2022-02-18T03:55:34-06:00
Commit Message:
AGOS: simon1 subtitle fixes (#3712)
Changed paths:
engines/agos/string.cpp
diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp
index 244450a4839..0663e465d22 100644
--- a/engines/agos/string.cpp
+++ b/engines/agos/string.cpp
@@ -161,7 +161,22 @@ const byte *AGOSEngine::getLocalStringByID(uint16 stringId) {
if (stringId < _stringIdLocalMin || stringId >= _stringIdLocalMax) {
loadTextIntoMem(stringId);
}
- return _localStringtable[stringId - _stringIdLocalMin];
+ byte *localString = _localStringtable[stringId - _stringIdLocalMin];
+ if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE) && (strlen((char *)localString) == 0)) {
+ // WORKAROUND bug for Simon 1 (only in CD-ROM versions) missing subtitles text when using the map at the dungeon, strings taken from Floppy versions
+ if (stringId == 36034) {
+ if (_language == Common::HE_ISR)
+ return (byte *)"@PI L@ IKEL LV at Z NK at O KXBR.";
+ if (_language == Common::ES_ESP)
+ return (byte *)"Ahora no puedo salir de aqu<.";
+ if (_language == Common::IT_ITA)
+ return (byte *)"Non posso uscire per il momento.";
+ }
+
+ if (stringId == 36035 && _language == Common::FR_FRA)
+ return (byte *)"Je ne peux pas sortir de l; pour l'instant.";
+ }
+ return localString;
}
TextLocation *AGOSEngine::getTextLocation(uint a) {
More information about the Scummvm-git-logs
mailing list