diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-05-28 20:57:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-28 20:57:34 +0200 |
| commit | f05eb10026fe12752617c7648389cac2cd721c25 (patch) | |
| tree | acaaf76a41bab0c65bfc73d8c4afcbf270fff350 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | a9f022a06770b7236ac6037ec0cb36c08222424e (diff) | |
| parent | 4288bfe0f9c189de5fd3a298f24ca51e171b4157 (diff) | |
Merge pull request #7003 from lioncash/host
Common: Move host communication enum to Host.h
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 0d7a84137e..af27952ca0 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -80,11 +80,11 @@ void Host_RefreshDSPDebuggerWindow() } static Common::Event updateMainFrameEvent; -void Host_Message(int Id) +void Host_Message(HostMessageID id) { - if (Id == WM_USER_STOP) + if (id == HostMessageID::WMUserStop) s_running.Clear(); - if (Id == WM_USER_JOB_DISPATCH || Id == WM_USER_STOP) + if (id == HostMessageID::WMUserJobDispatch || id == HostMessageID::WMUserStop) updateMainFrameEvent.Set(); } |
