Fixed issues reported by BurnExitMemoryManager() in misc_pre90s drivers
This commit is contained in:
parent
2b70e30ea3
commit
aa2c65d45f
|
@ -301,15 +301,15 @@ static INT32 DrvFrame()
|
|||
|
||||
static INT32 DrvExit()
|
||||
{
|
||||
BurnFree (Mem);
|
||||
BurnFree (pFMBuffer);
|
||||
|
||||
Mem = Rom = Prom = RomBank = VideoRam = framebuffer = NULL;
|
||||
Palette = NULL;
|
||||
pFMBuffer = NULL;
|
||||
AY8910Exit(0);
|
||||
ZetExit();
|
||||
|
||||
BurnFree (Mem);
|
||||
BurnFree (pFMBuffer);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -394,6 +394,7 @@ static INT32 DrvExit()
|
|||
GenericTilesExit();
|
||||
|
||||
BurnFree (Mem);
|
||||
BurnFree (pFMBuffer);
|
||||
|
||||
DrvRecalcPal = 0;
|
||||
flipscreen = 0;
|
||||
|
|
Loading…
Reference in New Issue