summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2018-02-07 23:35:54 -0800
committerGitHub <noreply@github.com>2018-02-07 23:35:54 -0800
commit096131c9085ff6cb358d03251f666536910d7806 (patch)
tree0e786cfd19885e26aba93636b99a0596d3e51d74 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent4636230f5a8f38b6a70d366615ab43cda11d736a (diff)
parent505d30be3d922f2fba7abe6fd9880f3c8e66767a (diff)
Merge pull request #6334 from stenzek/startup
Video Backend Initialization/Core Boot Improvements
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index db63206e30..c78a67589a 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;