mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-21 22:35:06 +00:00
Editorconfig cleanup
This commit is contained in:
@@ -13,7 +13,8 @@ namespace SabreTools.Data.Models.XboxISO
|
||||
/// <see href="https://github.dev/Deterous/XboxKit/"/>
|
||||
public static readonly long[] RedumpIsoLengths = [
|
||||
0x1D330C000, 0x1D26A8000, 0x1D3301800, 0x1D2FEF800,
|
||||
0x1D3082000, 0x1D3390000, 0x1D31A0000, 0x208E05800, 0x208E03800
|
||||
0x1D3082000, 0x1D3390000, 0x1D31A0000, 0x208E05800,
|
||||
0x208E03800
|
||||
];
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -161,9 +161,9 @@ namespace SabreTools.Serialization.Readers
|
||||
if (obj.ContainsKey(dr.ExtentOffset))
|
||||
continue;
|
||||
|
||||
// Ensure offset is valid
|
||||
if ((((long)offset) * Constants.SectorSize) + size > data.Length)
|
||||
return null;
|
||||
// Ensure offset is valid
|
||||
if ((((long)offset) * Constants.SectorSize) + size > data.Length)
|
||||
return null;
|
||||
|
||||
// Get all descriptors from child
|
||||
var descriptors = ParseDirectoryDescriptors(data, initialOffset, dr.ExtentOffset, dr.ExtentSize);
|
||||
|
||||
Reference in New Issue
Block a user