mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
Update TODO for accuracy
This commit is contained in:
@@ -343,7 +343,7 @@ namespace SabreTools.Serialization.Wrappers
|
||||
}
|
||||
|
||||
// Start from the first section with a valid raw data size and add all section sizes
|
||||
// TODO: Investigate cases where first section pointer does not work
|
||||
// TODO: Handle cases where sections are overlapping
|
||||
var firstSection = Array.Find(SectionTable, s => s.SizeOfRawData != 0);
|
||||
long endOfSectionData = firstSection?.PointerToRawData ?? 0;
|
||||
Array.ForEach(SectionTable, s => endOfSectionData += s.SizeOfRawData);
|
||||
|
||||
Reference in New Issue
Block a user