MMC3: Make sure to free any allocated memory when using MMC3 as an external module.
This commit is contained in:
@@ -162,6 +162,7 @@ static void NC7000MReset(void) {
|
||||
MMC3RegReset();
|
||||
}
|
||||
static void NC7000MClose(void) {
|
||||
GenMMC3Close();
|
||||
if (WRAM)
|
||||
FCEU_gfree(WRAM);
|
||||
WRAM = NULL;
|
||||
|
||||
Reference in New Issue
Block a user