mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +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)
|
if (m_is_init)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
bool instance_success;
|
const bool instance_success = sdl_instance::get_instance().initialize();
|
||||||
|
|
||||||
Emu.BlockingCallFromMainThread([&instance_success]()
|
|
||||||
{
|
|
||||||
instance_success = sdl_instance::get_instance().initialize();
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!instance_success)
|
if (!instance_success)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue