diff options
author | Jonathan Gray | 2004-06-26 05:08:02 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-26 05:08:02 +0000 |
commit | e61c96cb2ee96b7dd1bc6586898a1b551d7d829b (patch) | |
tree | 558cee916e3eead19c53f5f00e02b996080b6c8e /scumm/resource.cpp | |
parent | bd87b82243ab3f5afb71bb0873e47e0b160f16c0 (diff) | |
download | scummvm-rg350-e61c96cb2ee96b7dd1bc6586898a1b551d7d829b.tar.gz scummvm-rg350-e61c96cb2ee96b7dd1bc6586898a1b551d7d829b.tar.bz2 scummvm-rg350-e61c96cb2ee96b7dd1bc6586898a1b551d7d829b.zip |
work around for humongous catalogs
svn-id: r14066
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 5fb59c96bd..1decdf6d09 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -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"); |