From b5df5a6971e99f85c765e6e2cdd7b14258b6d2ea Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sun, 7 Nov 2021 17:12:45 -0600 Subject: [PATCH] Fix GBA EEPROM 64 KB writing 2 banks (#116) --- arm9/source/gba.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/arm9/source/gba.cpp b/arm9/source/gba.cpp index 1ec8762..89993dc 100644 --- a/arm9/source/gba.cpp +++ b/arm9/source/gba.cpp @@ -299,7 +299,6 @@ bool gbaWriteSave(u32 dst, u8 *src, u32 len, saveTypeGBA type) case SAVE_GBA_FLASH_128: // FLASH - must be opend by register magic, erased and then rewritten // FIXME: currently, you can only write "all or nothing" - nbanks = 2; for (int j = 0; j < nbanks; j++) { *(vu8*)0x0a005555 = 0xaa; swiDelay(10);