From 4443c060cee4b2260e067b2c2bcef17ff8fb5eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 27 May 2017 10:41:31 +0200 Subject: [PATCH] Slightly speed up booting when there are symbols to load. Also avoid an obscure hang I managed to trigger.. --- Windows/WindowsHost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/WindowsHost.cpp b/Windows/WindowsHost.cpp index 614cd9aeb3..30e110f678 100644 --- a/Windows/WindowsHost.cpp +++ b/Windows/WindowsHost.cpp @@ -237,7 +237,7 @@ void WindowsHost::PollControllers() { void WindowsHost::BootDone() { g_symbolMap->SortSymbols(); - SendMessage(mainWindow_, WM_USER + 1, 0, 0); + PostMessage(mainWindow_, WM_USER + 1, 0, 0); SetDebugMode(!g_Config.bAutoRun); Core_EnableStepping(!g_Config.bAutoRun);