mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Core: Assert that only the Host thread may call PauseAndLock().
This commit is contained in:
parent
7bbd530eb5
commit
b3c9f49cbe
9 changed files with 65 additions and 32 deletions
|
@ -71,7 +71,7 @@ Settings::Settings()
|
|||
});
|
||||
|
||||
m_hotplug_callback_handle = g_controller_interface.RegisterDevicesChangedCallback([this] {
|
||||
if (Host::GetInstance()->IsHostThread())
|
||||
if (Core::IsHostThread())
|
||||
{
|
||||
emit DevicesChanged();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue