mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
AGOS: Fix bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction.
This commit is contained in:
parent
639c54a306
commit
2388477355
@ -362,6 +362,12 @@ void AGOSEngine_Simon1::os1_screenTextMsg() {
|
||||
stopAnimateSimon2(2, vgaSpriteId + 2);
|
||||
}
|
||||
|
||||
// Several strings in the French version of Simon the Sorcerer 1 set the incorrect width,
|
||||
// causing crashes, or glitches in subtitles. See bug #3512776 for example.
|
||||
if (getGameType() == GType_SIMON1 && _language == Common::FR_FRA && stringId == 33245) {
|
||||
tl->width = 96;
|
||||
}
|
||||
|
||||
if (stringPtr != NULL && stringPtr[0] != 0 && (speechId == 0 || _subtitles))
|
||||
printScreenText(vgaSpriteId, color, (const char *)stringPtr, tl->x, tl->y, tl->width);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user