diff options
| author | Stenzek <stenzek@gmail.com> | 2018-01-26 14:41:57 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-01-27 13:53:55 +1000 |
| commit | 04027a7da774bfcafeff0b8565417e43e5e3c198 (patch) | |
| tree | d8eeb17a9e19f199c2d81ff118c8e972ca029129 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | f9053527a9657ae748ab6b63d1fec0917c545e22 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |
