mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-18 01:09:42 +05:00
API: Allow passing of load options to binary loaders
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Il2CppInspector
|
||||
Endianness = Endianness.Little;
|
||||
|
||||
using var s = new MemoryStream(ReadBytes((int) arch.Size));
|
||||
return (IFileFormatReader) MachOReader32.Load(s, OnStatusUpdate) ?? MachOReader64.Load(s, OnStatusUpdate);
|
||||
return (IFileFormatReader) MachOReader32.Load(s, LoadOptions, OnStatusUpdate) ?? MachOReader64.Load(s, LoadOptions, OnStatusUpdate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user