FDS: Fix pointers are not freed when closing rom

This commit is contained in:
retro-wertz
2019-01-06 10:42:12 +08:00
committed by GitHub
parent 3d46793a39
commit 55b3d8a5bc

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