From 04027a7da774bfcafeff0b8565417e43e5e3c198 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 26 Jan 2018 14:41:57 +1000 Subject: Core: Improve ordering of boot - Smplification of graphics backend startup/shutdown. - Don't send complete message until CPU is ready to execute. - Remove redundant stop message. - Remove OSD message with backend name. --- Source/Core/DolphinNoGUI/MainNoGUI.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp') diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 9582facf2d..574ebc07ba 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -83,10 +83,9 @@ static Common::Event updateMainFrameEvent; void Host_Message(int Id) { if (Id == WM_USER_STOP) - { s_running.Clear(); + if (Id == WM_USER_JOB_DISPATCH || Id == WM_USER_STOP) updateMainFrameEvent.Set(); - } } static void* s_window_handle = nullptr; -- cgit v1.2.3