mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
Fix issue with split resource tables
This commit is contained in:
@@ -337,11 +337,11 @@ namespace SabreTools.Serialization.Deserializers
|
||||
{
|
||||
Name = new ResourceDirectoryString { UnicodeString = Encoding.Unicode.GetBytes("HIDDEN RESOURCE") },
|
||||
IntegerID = uint.MaxValue,
|
||||
DataEntryOffset = (uint)data.Position,
|
||||
DataEntryOffset = (uint)tableOffset,
|
||||
DataEntry = new ResourceDataEntry
|
||||
{
|
||||
Size = (uint)length,
|
||||
Data = data.ReadBytes(length),
|
||||
Data = tableData.ReadBytes(ref tableOffset, length),
|
||||
Codepage = (uint)Encoding.Unicode.CodePage,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user