Merge pull request #250 from retro-wertz/patch-1

FDS: Fix pointers are not freed when closing rom
This commit is contained in:
hizzlekizzle
2019-01-05 21:54:26 -06:00
committed by GitHub

View File

@@ -848,6 +848,8 @@ int FDSLoad(const char *name, FCEUFILE *fp) {
diskdatao[x] = (uint8*)FCEU_malloc(65500);
memcpy(diskdatao[x], diskdata[x], 65500);
}
DiskWritten = 1;
#if 0
/* auxillary rom loading for save file is now handled