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