1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-21 18:22:33 +01:00

Loader/Input: Process Qt events instead of yielding during init

This commit is contained in:
Megamouse 2022-10-21 23:21:28 +02:00
parent cb8a240f1a
commit 41dad58489

View File

@ -106,7 +106,8 @@ EmuCallbacks main_application::CreateCallbacks()
callbacks.init_pad_handler = [this](std::string_view title_id)
{
ensure(g_fxo->init<named_thread<pad_thread>>(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<AudioBackend>