Zero MMC5 WRAM size on close.

This commit is contained in:
mjbudd77 2022-01-31 21:35:08 -05:00
parent 2d4fa02bbd
commit 6d35018b9a
1 changed files with 1 additions and 0 deletions

View File

@ -895,6 +895,7 @@ void NSFMMC5_Close(void) {
if (WRAM)
FCEU_gfree(WRAM);
WRAM = NULL;
MMC5WRAMsize = 0;
FCEU_gfree(ExRAM);
ExRAM = NULL;
}