aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.h
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2020-09-11 03:08:06 +0200
committerRSDuck <rsduck@users.noreply.github.com>2020-09-11 03:08:06 +0200
commitf2fa52f26ceb1f385d58e57ab26ca7d5349978d2 (patch)
treecd5a01d7ee45b118bad3fcf8de9e9237c368686a /src/NDSCart.h
parent00e2ec3faf43b1fa6ad3def0e97828083244a47a (diff)
add functionality to import savefiles
Diffstat (limited to 'src/NDSCart.h')
-rw-r--r--src/NDSCart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/NDSCart.h b/src/NDSCart.h
index a759c15..9fe916d 100644
--- a/src/NDSCart.h
+++ b/src/NDSCart.h
@@ -48,6 +48,8 @@ void DecryptSecureArea(u8* out);
bool LoadROM(const char* path, const char* sram, bool direct);
void RelocateSave(const char* path, bool write);
+int ImportSRAM(const u8* data, u32 length);
+
void ResetCart();
void WriteROMCnt(u32 val);