From 4b566c35fa07b2d2888fa1c38eeb29faf2d649bf Mon Sep 17 00:00:00 2001 From: jvyden Date: Tue, 26 Jul 2022 21:41:03 -0400 Subject: [PATCH] Add PSP support to ELF checking --- UnionPatcher/ElfFile.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnionPatcher/ElfFile.cs b/UnionPatcher/ElfFile.cs index 03d5268..923ea0f 100644 --- a/UnionPatcher/ElfFile.cs +++ b/UnionPatcher/ElfFile.cs @@ -23,9 +23,10 @@ public class ElfFile { Big = 0x02, } - private enum InstructionSetArchitecture : UInt16 { + private enum InstructionSetArchitecture : ushort { PowerPC = 0x15, //64-bit PowerPC (PS3) ARM = 0x28, //32-bit ARM (Vita) + MipsRS3000, // MIPS RS3000 Big-Endian 32bit (PSP) } public string Name { get; } = "Binary Blob";