mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Virtual insanity
This commit is contained in:
@@ -1538,7 +1538,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
return false;
|
||||
|
||||
// Read the section into a local array
|
||||
int sectionLength = (int)Math.Max(section.SizeOfRawData, section.VirtualSize);
|
||||
int sectionLength = (int)section.VirtualSize;
|
||||
byte[]? sectionData = source.ReadFrom(offset, sectionLength, retainPosition: true);
|
||||
|
||||
// Parse the section header
|
||||
|
||||
Reference in New Issue
Block a user