Merge pull request #250 from retro-wertz/patch-1
FDS: Fix pointers are not freed when closing rom
This commit is contained in:
@@ -848,6 +848,8 @@ int FDSLoad(const char *name, FCEUFILE *fp) {
|
|||||||
diskdatao[x] = (uint8*)FCEU_malloc(65500);
|
diskdatao[x] = (uint8*)FCEU_malloc(65500);
|
||||||
memcpy(diskdatao[x], diskdata[x], 65500);
|
memcpy(diskdatao[x], diskdata[x], 65500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DiskWritten = 1;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* auxillary rom loading for save file is now handled
|
/* auxillary rom loading for save file is now handled
|
||||||
|
|||||||
Reference in New Issue
Block a user