mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 15:09:47 +00:00
DIG: turn off subtitles in SMUSH if _noSubtitles is set
svn-id: r4599
This commit is contained in:
parent
7e6d2affa8
commit
0992c61976
@ -1254,7 +1254,9 @@ void SmushPlayer::parseTRES()
|
||||
printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16));
|
||||
return;
|
||||
}
|
||||
|
||||
if ((sm->_noSubtitles) && (READ_LE_UINT16(_cur + 4) != 0))
|
||||
return;
|
||||
|
||||
byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16));
|
||||
drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt);
|
||||
if (txt != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user