mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
loadCharset gets overloaded for small header games, so no need to check for those in here
svn-id: r17365
This commit is contained in:
parent
5f880737c5
commit
398aa1a8b1
@ -584,10 +584,7 @@ void ScummEngine::loadCharset(int no) {
|
||||
assert(no < (int)sizeof(_charsetData) / 16);
|
||||
checkRange(_numCharsets - 1, 1, no, "Loading illegal charset %d");
|
||||
|
||||
// ensureResourceLoaded(rtCharset, no);
|
||||
ptr = getResourceAddress(rtCharset, no);
|
||||
if (_features & GF_SMALL_HEADER)
|
||||
ptr -= 12;
|
||||
|
||||
for (i = 0; i < 15; i++) {
|
||||
_charsetData[no][i + 1] = ptr[i + 14];
|
||||
|
Loading…
Reference in New Issue
Block a user