mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
SCI: Don't error out when a Mac resource has size 0
This commit is contained in:
parent
0fe3ecd6d7
commit
fe250d2755
@ -428,10 +428,8 @@ void MacResourceForkResourceSource::loadResource(ResourceManager *resMan, Resour
|
||||
stream = _macResMan->getResource(tagArray[i], res->getNumber());
|
||||
}
|
||||
|
||||
if (!stream)
|
||||
error("Could not get Mac resource fork resource: %s", res->_id.toString().c_str());
|
||||
|
||||
decompressResource(stream, res);
|
||||
if (stream)
|
||||
decompressResource(stream, res);
|
||||
}
|
||||
|
||||
bool MacResourceForkResourceSource::isCompressableResource(ResourceType type) const {
|
||||
|
Loading…
Reference in New Issue
Block a user