mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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.
This commit is contained in:
parent
f9053527a9
commit
04027a7da7
2 changed files with 31 additions and 66 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue