From 41dad584893cd7682cb9883be39ce0bbebdc5bab Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 21 Oct 2022 23:21:28 +0200 Subject: [PATCH] Loader/Input: Process Qt events instead of yielding during init --- rpcs3/main_application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/main_application.cpp b/rpcs3/main_application.cpp index bb7ae11538..d55f40215f 100644 --- a/rpcs3/main_application.cpp +++ b/rpcs3/main_application.cpp @@ -106,7 +106,8 @@ EmuCallbacks main_application::CreateCallbacks() callbacks.init_pad_handler = [this](std::string_view title_id) { ensure(g_fxo->init>(get_thread(), m_game_window, title_id)); - while (!pad::g_started) std::this_thread::yield(); + extern void process_qt_events(); + while (!pad::g_started) process_qt_events(); }; callbacks.get_audio = []() -> std::shared_ptr