genesis, saturnus - dispose of CD
This commit is contained in:
parent
d2fc1f1f8b
commit
f7cf7e1176
|
@ -556,6 +556,7 @@ namespace BizHawk.Emulation.Cores.Sega.Saturn
|
|||
LibYabause.libyabause_deinit();
|
||||
VideoHandle.Free();
|
||||
SoundHandle.Free();
|
||||
CD.Dispose();
|
||||
Disposed = true;
|
||||
DeactivateGL();
|
||||
}
|
||||
|
|
|
@ -697,6 +697,10 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
if (SaveRamModified)
|
||||
DisposedSaveRam = CloneSaveRam();
|
||||
KillMemCallbacks();
|
||||
if (CD != null)
|
||||
{
|
||||
CD.Dispose();
|
||||
}
|
||||
AttachedCore = null;
|
||||
disposed = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue