We need to ensure mempak is closed when CN64System is closed, otherwise the handle will never be closed.
This commit is contained in:
parent
2f4e21577a
commit
4f1c760236
|
@ -58,6 +58,7 @@ CN64System::CN64System ( CPlugins * Plugins, bool SavesReadOnly ) :
|
||||||
CN64System::~CN64System ( void )
|
CN64System::~CN64System ( void )
|
||||||
{
|
{
|
||||||
SetActiveSystem(false);
|
SetActiveSystem(false);
|
||||||
|
Mempak::Close();
|
||||||
if (m_SyncCPU)
|
if (m_SyncCPU)
|
||||||
{
|
{
|
||||||
m_SyncCPU->CpuStopped();
|
m_SyncCPU->CpuStopped();
|
||||||
|
|
Loading…
Reference in New Issue