mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
Fix loadCharset failures for computer terminals in FT.
Later games use slightly different code. svn-id: r14605
This commit is contained in:
parent
acc51d2e29
commit
8bc615a394
@ -589,7 +589,7 @@ int ScummEngine::addStringToStack(byte *dst, int dstSize, int var) {
|
||||
void ScummEngine::initCharset(int charsetno) {
|
||||
int i;
|
||||
|
||||
if (!getResourceAddress(rtCharset, charsetno))
|
||||
if ((!getResourceAddress(rtCharset, charsetno)) || (_version >= 7 && !isResourceLoaded(rtCharset, charsetno)))
|
||||
loadCharset(charsetno);
|
||||
|
||||
_string[0]._default.charset = charsetno;
|
||||
|
Loading…
Reference in New Issue
Block a user