aboutsummaryrefslogtreecommitdiff
path: root/src/NDSCart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDSCart.h')
-rw-r--r--src/NDSCart.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/NDSCart.h b/src/NDSCart.h
index 5bec38d..ac8f8fe 100644
--- a/src/NDSCart.h
+++ b/src/NDSCart.h
@@ -1,5 +1,5 @@
/*
- Copyright 2016-2017 StapleButter
+ Copyright 2016-2019 StapleButter
This file is part of melonDS.
@@ -36,11 +36,16 @@ extern u8 EncSeed1[5];
extern u8* CartROM;
extern u32 CartROMSize;
+extern u32 CartID;
+
bool Init();
void DeInit();
void Reset();
-bool LoadROM(const char* path, bool direct);
+void DoSavestate(Savestate* file);
+
+bool LoadROM(const char* path, const char* sram, bool direct);
+void RelocateSave(const char* path, bool write);
void WriteROMCnt(u32 val);
u32 ReadROMData();
@@ -49,6 +54,10 @@ void WriteSPICnt(u16 val);
u8 ReadSPIData();
void WriteSPIData(u8 val);
+void ROMPrepareData(u32 param);
+void ROMEndTransfer(u32 param);
+void SPITransferDone(u32 param);
+
}
#endif