mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-04 05:36:12 +00:00
Minor tweak
This commit is contained in:
@@ -330,7 +330,9 @@ namespace SabreTools.Serialization.Readers
|
||||
#region Hidden Resources
|
||||
|
||||
// If we have not used up the full size, parse the remaining chunk as a single resource
|
||||
if (pex.ResourceDirectoryTable?.Entries != null && tableOffset < tableSize)
|
||||
if (pex.ResourceDirectoryTable?.Entries != null
|
||||
&& tableOffset < tableSize
|
||||
&& (offset + tableOffset) != endOfSectionData)
|
||||
{
|
||||
// Resize the entry array to accomodate one more
|
||||
var localEntries = pex.ResourceDirectoryTable.Entries;
|
||||
|
||||
Reference in New Issue
Block a user