MMC3: Make sure to free any allocated memory when using MMC3 as an external module.
This commit is contained in:
@@ -175,6 +175,10 @@ static void BS110Reset(void)
|
||||
MMC3RegReset();
|
||||
}
|
||||
static void BS110Close(void) {
|
||||
GenMMC3Close();
|
||||
if (WRAM)
|
||||
FCEU_free(WRAM);
|
||||
WRAM = NULL;
|
||||
}
|
||||
|
||||
void BS110_Init(CartInfo *info) {
|
||||
|
||||
Reference in New Issue
Block a user