mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
System: Fix possible deadlock when starting
HC mode + debug windows enabled
This commit is contained in:
@@ -4833,8 +4833,11 @@ void System::CheckForSettingsChanges(const Settings& old_settings)
|
||||
}
|
||||
}
|
||||
|
||||
if (g_settings.gpu_use_thread && g_settings.gpu_max_queued_frames != old_settings.gpu_max_queued_frames) [[unlikely]]
|
||||
if (IsValid() && g_settings.gpu_use_thread && g_settings.gpu_max_queued_frames != old_settings.gpu_max_queued_frames)
|
||||
[[unlikely]]
|
||||
{
|
||||
GPUThread::SyncGPUThread(false);
|
||||
}
|
||||
}
|
||||
|
||||
void System::SetTaintsFromSettings()
|
||||
|
||||
Reference in New Issue
Block a user