mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
sdl_pad_handler run sdl_instance::get_instance().initialize() outside of main thread
sdl instance init now has it's own lock
This commit is contained in:
parent
cb5fd17635
commit
1d2cc18fbd
1 changed files with 1 additions and 6 deletions
|
@ -180,12 +180,7 @@ bool sdl_pad_handler::Init()
|
|||
if (m_is_init)
|
||||
return true;
|
||||
|
||||
bool instance_success;
|
||||
|
||||
Emu.BlockingCallFromMainThread([&instance_success]()
|
||||
{
|
||||
instance_success = sdl_instance::get_instance().initialize();
|
||||
});
|
||||
const bool instance_success = sdl_instance::get_instance().initialize();
|
||||
|
||||
if (!instance_success)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue