aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.h
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-03-12 21:52:29 +0100
committerArisotura <thetotalworm@gmail.com>2022-03-12 21:52:29 +0100
commitf7fa0dda502b47a6f707105ed571d4dc643a72b6 (patch)
tree04bbead3bed3c49398f9e8be6e45178903378600 /src/NDSCart.h
parentcce9de5ee1f51e906a644922b2ada6644d81287a (diff)
* support patching multiple DLDI interfaces
* fix the DLDI size entry fixes the Smash demo
Diffstat (limited to 'src/NDSCart.h')
-rw-r--r--src/NDSCart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/NDSCart.h b/src/NDSCart.h
index 358b138..bbeb2ff 100644
--- a/src/NDSCart.h
+++ b/src/NDSCart.h
@@ -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);