mirror of https://github.com/PCSX2/pcsx2.git
parent
11d3326d73
commit
99f1ad0ea6
|
@ -225,8 +225,10 @@ void ControllerBindingWidget::doDeviceAutomaticBinding(const QString& device)
|
||||||
bool result;
|
bool result;
|
||||||
if (m_dialog->isEditingGlobalSettings())
|
if (m_dialog->isEditingGlobalSettings())
|
||||||
{
|
{
|
||||||
auto lock = Host::GetSettingsLock();
|
{
|
||||||
result = PAD::MapController(*Host::Internal::GetBaseSettingsLayer(), m_port_number, mapping);
|
auto lock = Host::GetSettingsLock();
|
||||||
|
result = PAD::MapController(*Host::Internal::GetBaseSettingsLayer(), m_port_number, mapping);
|
||||||
|
}
|
||||||
if (result)
|
if (result)
|
||||||
Host::CommitBaseSettingChanges();
|
Host::CommitBaseSettingChanges();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue