HostInterface: Crash fix again for controller switching
This commit is contained in:
1 parent
acd49f3765
commit
77a60f0c5f
1 file changed
+1
-1
@@ -969,7 +969,7 @@ void HostInterface::UpdateSettings(const std::function<void()>& apply_callback)
|
||||
{
|
||||
if (m_settings.controller_types[i] != old_controller_types[i])
|
||||
{
|
||||
if (!controllers_updated)
|
||||
if (m_system && !controllers_updated)
|
||||
{
|
||||
m_system->UpdateControllers();
|
||||
controllers_updated = true;
|
||||
|
||||
Reference in new issue
Block a user