mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-18 17:29:40 +05:00
Don't prevent other exceptions on known architecture
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Il2CppInspector
|
||||
// Get type from image architecture
|
||||
var type = Assembly.GetExecutingAssembly().GetType("Il2CppInspector.Il2CppBinary" + stream.Arch.ToUpper());
|
||||
if (type == null)
|
||||
throw new InvalidOperationException("Unsupported architecture: " + stream.Arch);
|
||||
throw new NotImplementedException("Unsupported architecture: " + stream.Arch);
|
||||
|
||||
var inst = (Il2CppBinary) Activator.CreateInstance(type, stream);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user