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