mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
IOS/USBHost: Skip starting threads when determinism is enabled
The threads can't actually be started when determinism is enabled, as the behavior would not be deterministic, but Open() still tries to start the threads and wait, resulting in a deadlock when booting certain games and homebrew in NetPlay.
This commit is contained in:
parent
013e0528d5
commit
bb99062f18
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ USBHost::~USBHost() = default;
|
|||
|
||||
IPCCommandResult USBHost::Open(const OpenRequest& request)
|
||||
{
|
||||
if (!m_has_initialised)
|
||||
if (!m_has_initialised && !Core::WantsDeterminism())
|
||||
{
|
||||
StartThreads();
|
||||
// Force a device scan to complete, because some games (including Your Shape) only care
|
||||
|
|
Loading…
Add table
Reference in a new issue