diff --git a/src/boards/mmc5.cpp b/src/boards/mmc5.cpp index 8015a12f..ac98d57d 100644 --- a/src/boards/mmc5.cpp +++ b/src/boards/mmc5.cpp @@ -895,6 +895,7 @@ void NSFMMC5_Close(void) { if (WRAM) FCEU_gfree(WRAM); WRAM = NULL; + MMC5WRAMsize = 0; FCEU_gfree(ExRAM); ExRAM = NULL; }