one last fix
This commit is contained in:
parent
8e5f175f5e
commit
46ed4aeeb1
|
@ -106,8 +106,6 @@ bool wxApp_melonDS::OnInit()
|
||||||
|
|
||||||
int wxApp_melonDS::OnExit()
|
int wxApp_melonDS::OnExit()
|
||||||
{
|
{
|
||||||
emuthread->EmuPause();
|
|
||||||
emuthread->EmuExit();
|
|
||||||
emuthread->Wait();
|
emuthread->Wait();
|
||||||
delete emuthread;
|
delete emuthread;
|
||||||
|
|
||||||
|
@ -169,6 +167,9 @@ MainFrame::MainFrame()
|
||||||
|
|
||||||
void MainFrame::OnClose(wxCloseEvent& event)
|
void MainFrame::OnClose(wxCloseEvent& event)
|
||||||
{
|
{
|
||||||
|
emuthread->EmuPause();
|
||||||
|
emuthread->EmuExit();
|
||||||
|
|
||||||
NDS::DeInit();
|
NDS::DeInit();
|
||||||
|
|
||||||
if (joy)
|
if (joy)
|
||||||
|
|
Loading…
Reference in New Issue