Skip to content
Snippets Groups Projects
Commit b058ce6f authored by bunnei's avatar bunnei
Browse files

Merge pull request #403 from yuriks/shutdown-system

Frontends: Shutdown core when emulation is stopped
parents d66d1707 cdde76f2
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,8 @@ int __cdecl main(int argc, char **argv) {
Core::RunLoop();
}
System::Shutdown();
delete emu_window;
return 0;
......
......@@ -13,6 +13,7 @@
#include "core/core.h"
#include "core/settings.h"
#include "core/system.h"
#include "video_core/debug_utils/debug_utils.h"
......@@ -89,6 +90,8 @@ void EmuThread::Stop()
}
}
LOG_INFO(Frontend, "EmuThread stopped");
System::Shutdown();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment