1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

one last fix

This commit is contained in:
StapleButter 2017-03-30 03:31:27 +02:00
parent 8e5f175f5e
commit 46ed4aeeb1

View file

@ -106,8 +106,6 @@ bool wxApp_melonDS::OnInit()
int wxApp_melonDS::OnExit()
{
emuthread->EmuPause();
emuthread->EmuExit();
emuthread->Wait();
delete emuthread;
@ -169,6 +167,9 @@ MainFrame::MainFrame()
void MainFrame::OnClose(wxCloseEvent& event)
{
emuthread->EmuPause();
emuthread->EmuExit();
NDS::DeInit();
if (joy)