From 5406db12855ef3ecdc9be7d5989e30176379bc2e Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 12 Oct 2013 02:19:35 -0700 Subject: [PATCH] This doesn't really "wait" anymore. --- Windows/WndMainWindow.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Windows/WndMainWindow.cpp b/Windows/WndMainWindow.cpp index 560f218a74..c1610e68ba 100644 --- a/Windows/WndMainWindow.cpp +++ b/Windows/WndMainWindow.cpp @@ -782,10 +782,6 @@ namespace MainWindow DialogManager::AddDlg(memoryWindow[0]); } - void WaitForCore() { - Core_Stop(); - } - void BrowseAndBoot(std::string defaultPath, bool browseDirectory) { std::string fn; std::string filter = "PSP ROMs (*.iso *.cso *.pbp *.elf)|*.pbp;*.elf;*.iso;*.cso;*.prx|All files (*.*)|*.*||"; @@ -1131,8 +1127,9 @@ namespace MainWindow break; case ID_EMULATION_STOP: - WaitForCore(); + Core_Stop(); NativeMessageReceived("stop", ""); + Core_WaitInactive(); Update(); break;