2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

Fix NES memory card saves

This commit is contained in:
Jack Andersen
2018-02-02 17:00:21 -10:00
parent 15e5b4bbb8
commit acf2dab66f
4 changed files with 19 additions and 21 deletions

View File

@@ -66,7 +66,7 @@ private:
u32 checkDataLen = 0x1FFFC, u32 checksumMagic = 0xA663);
void InitializeEmulator();
void DeinitializeEmulator();
bool NesEmuMainLoop();
void NesEmuMainLoop(bool forceDraw = false);
static bool CheckForGameOver(const u8* vram, u8* passwordOut = nullptr);
static EPasswordEntryState CheckForPasswordEntryScreen(const uint8_t* vram);
static bool SetPasswordIntoEntryScreen(u8* vram, u8* wram, const u8* password);