work around for humongous catalogs
svn-id: r14066
This commit is contained in:
parent
bd87b82243
commit
e61c96cb2e
1 changed files with 6 additions and 0 deletions
|
@ -567,6 +567,12 @@ void ScummEngine::loadCharset(int no) {
|
|||
if (_gameId == GID_INDY4 && no == 0)
|
||||
no = 1;
|
||||
|
||||
/* for Humongous catalogs */
|
||||
if (_heversion >= 70 && _numCharsets == 1) {
|
||||
warning("not loading charset as it doesn't seem to exist?");
|
||||
return;
|
||||
}
|
||||
|
||||
assert(no < (int)sizeof(_charsetData) / 16);
|
||||
checkRange(_numCharsets - 1, 1, no, "Loading illegal charset %d");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue