diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/hex_util.h | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/common/hex_util.h b/src/common/hex_util.h index f5f9e4507..5e9b6ef8b 100644 --- a/src/common/hex_util.h +++ b/src/common/hex_util.h | |||
| @@ -61,7 +61,7 @@ template <typename ContiguousContainer> | |||
| 61 | return out; | 61 | return out; |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | [[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[17]) { | 64 | [[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[33]) { |
| 65 | return HexStringToArray<16>(data); | 65 | return HexStringToArray<16>(data); |
| 66 | } | 66 | } |
| 67 | 67 | ||
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() { | |||
| 278 | if (Settings::values.players.GetValue()[p].analogs[i].empty()) | 278 | if (Settings::values.players.GetValue()[p].analogs[i].empty()) |
| 279 | Settings::values.players.GetValue()[p].analogs[i] = default_param; | 279 | Settings::values.players.GetValue()[p].analogs[i] = default_param; |
| 280 | } | 280 | } |
| 281 | |||
| 282 | Settings::values.players.GetValue()[p].connected = | ||
| 283 | sdl2_config->GetBoolean(group, "connected", false); | ||
| 281 | } | 284 | } |
| 282 | 285 | ||
| 283 | ReadSetting("ControlsGeneral", Settings::values.mouse_enabled); | 286 | ReadSetting("ControlsGeneral", Settings::values.mouse_enabled); |