From 62e3f41f20866388287329218810d2fd8cea3515 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Wed, 11 Nov 2020 13:38:05 +0100 Subject: delay savefile flush to the end of the frame --- src/NDSCart.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/NDSCart.h') diff --git a/src/NDSCart.h b/src/NDSCart.h index 9fe916d..7d3f4a1 100644 --- a/src/NDSCart.h +++ b/src/NDSCart.h @@ -46,6 +46,9 @@ void DoSavestate(Savestate* file); void DecryptSecureArea(u8* out); bool LoadROM(const char* path, const char* sram, bool direct); + +void FlushSRAMFile(); + void RelocateSave(const char* path, bool write); int ImportSRAM(const u8* data, u32 length); -- cgit v1.2.3