mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 18:00:44 +00:00
TSAGE: Fixed bug with decoding large compressed resources
This commit is contained in:
parent
cbfe04fc1f
commit
a8bed05922
@ -183,7 +183,7 @@ void RlbManager::loadSection(uint32 fileOffset) {
|
||||
re->fileOffset = offset;
|
||||
re->isCompressed = type != 0;
|
||||
re->size = ((sizeHi & 0xF) << 16) | size;
|
||||
re->uncompressedSize = ((sizeHi & 0xF) << 16) | uncSize;
|
||||
re->uncompressedSize = ((sizeHi & 0xF0) << 12) | uncSize;
|
||||
|
||||
_resources.push_back(*re);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user