DiscIO/DirectoryBlob: Handle reads between files.

This commit is contained in:
Admiral H. Curtiss 2021-09-14 07:09:55 +02:00
parent ee863e6722
commit 06d41c53ce

View file

@ -179,6 +179,9 @@ bool DiscContentContainer::Read(u64 offset, u64 length, u8* buffer) const
// Zero fill to start of DiscContent data
PadToAddress(it->GetOffset(), &offset, &length, &buffer);
if (length == 0)
return true;
if (!it->Read(&offset, &length, &buffer))
return false;