summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-08-05 04:05:53 +0200
committerGitHub <noreply@github.com>2021-08-05 04:05:53 +0200
commitedb9c72e263f25dd42d8a2b256089fa5d852d1a7 (patch)
tree576319c010c8def9ddfc855c96dbe8e034300996 /src
parentnvdec: Implement VA-API hardware video acceleration (#6713) (diff)
parentconfig: Read connected setting for controllers (diff)
downloadyuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar.gz
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar.bz2
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar.lz
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar.xz
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.tar.zst
yuzu-edb9c72e263f25dd42d8a2b256089fa5d852d1a7.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu_cmd/config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 064ecaafa..4f14be524 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -278,6 +278,9 @@ void Config::ReadValues() {
if (Settings::values.players.GetValue()[p].analogs[i].empty())
Settings::values.players.GetValue()[p].analogs[i] = default_param;
}
+
+ Settings::values.players.GetValue()[p].connected =
+ sdl2_config->GetBoolean(group, "connected", false);
}
ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);