mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
one last fix
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user