* support patching multiple DLDI interfaces

* fix the DLDI size entry
fixes the Smash demo
This commit is contained in:
Arisotura
2022-03-12 21:52:29 +01:00
parent cce9de5ee1
commit f7fa0dda50
3 changed files with 34 additions and 35 deletions

View File

@ -188,6 +188,7 @@ public:
void ROMCommandFinish(u8* cmd, u8* data, u32 len) override;
private:
void ApplyDLDIPatchAt(u8* binary, u32 dldioffset, const u8* patch, u32 patchlen, bool readonly);
void ApplyDLDIPatch(const u8* patch, u32 patchlen, bool readonly);
void ReadROM_B7(u32 addr, u32 len, u8* data, u32 offset);