mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #7003 from lioncash/host
Common: Move host communication enum to Host.h
This commit is contained in:
@ -75,13 +75,13 @@ void Host::ResizeSurface(int new_width, int new_height)
|
||||
g_renderer->ResizeSurface(new_width, new_height);
|
||||
}
|
||||
|
||||
void Host_Message(int id)
|
||||
void Host_Message(HostMessageID id)
|
||||
{
|
||||
if (id == WM_USER_STOP)
|
||||
if (id == HostMessageID::WMUserStop)
|
||||
{
|
||||
emit Host::GetInstance()->RequestStop();
|
||||
}
|
||||
else if (id == WM_USER_JOB_DISPATCH)
|
||||
else if (id == HostMessageID::WMUserJobDispatch)
|
||||
{
|
||||
// Just poke the main thread to get it to wake up, job dispatch
|
||||
// will happen automatically before it goes back to sleep again.
|
||||
|
Reference in New Issue
Block a user