diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/mips.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/includes/mips.h b/includes/mips.h index b0409ea..814120f 100644 --- a/includes/mips.h +++ b/includes/mips.h @@ -16,9 +16,10 @@ class mips : public Base { void unpatch16(Uint32); void unpatch32(Uint32); bool IsPatched(Uint32); - void LoadEXE(Handle *); - void SaveEXE(Handle *); + void LoadPSYQ(Handle *); + void SavePSYQ(Handle *); Uint32 GetPC(); + void disassemble(Uint32); private: void patch(Uint32, int); void unpatch(Uint32, int); @@ -36,4 +37,17 @@ class mips : public Base { }; }; +class TDis : public Base { + public: + TDis(Uint32); + void setInstruction(String); + void setAddress(Uint32); + void addArgReg(int); + void addArgImm(Uint32); + void addArgRelative(Uint32); + void addArgAbsolute(Uint32); + private: + Uint32 pc; +}; + #endif |