add functionality to import savefiles

This commit is contained in:
RSDuck
2020-09-11 03:08:06 +02:00
parent 00e2ec3faf
commit f2fa52f26c
8 changed files with 76 additions and 0 deletions

View File

@ -100,6 +100,9 @@ bool SaveState(const char* filename);
// undo the latest savestate load
void UndoStateLoad();
// imports savedata from an external file. Returns the difference between the filesize and the SRAM size
int ImportSRAM(const char* filename);
// enable or disable cheats
void EnableCheats(bool enable);