summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-03-18 05:03:36 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-03-18 05:08:16 +0100
commitc95baf92cef2222ca6f8f2f0976afd24ee3d3670 (patch)
treeb88cca93ea41314813216c767fea142871fe2194
parentMerge pull request #9955 from liamwhite/color-blend-equation (diff)
downloadyuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar.gz
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar.bz2
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar.lz
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar.xz
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.tar.zst
yuzu-c95baf92cef2222ca6f8f2f0976afd24ee3d3670.zip
-rw-r--r--src/yuzu/configuration/configure_input.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_input.cpp b/src/yuzu/configuration/configure_input.cpp
index 1db374d4a..7fce85bca 100644
--- a/src/yuzu/configuration/configure_input.cpp
+++ b/src/yuzu/configuration/configure_input.cpp
@@ -189,6 +189,8 @@ QList<QWidget*> ConfigureInput::GetSubTabs() const {
}
void ConfigureInput::ApplyConfiguration() {
+ const bool was_global = Settings::values.players.UsingGlobal();
+ Settings::values.players.SetGlobal(true);
for (auto* controller : player_controllers) {
controller->ApplyConfiguration();
}
@@ -201,6 +203,7 @@ void ConfigureInput::ApplyConfiguration() {
Settings::values.vibration_enabled.SetValue(ui->vibrationGroup->isChecked());
Settings::values.motion_enabled.SetValue(ui->motionGroup->isChecked());
+ Settings::values.players.SetGlobal(was_global);
}
void ConfigureInput::changeEvent(QEvent* event) {