diff options
| author | 2021-01-10 22:09:56 -0700 | |
|---|---|---|
| committer | 2021-01-10 22:09:56 -0700 | |
| commit | 7a3c884e39fccfbb498b855080bffabc9ce2e7f1 (patch) | |
| tree | 5056f9406dec188439cb0deb87603498243a9412 /src/yuzu_tester/config.cpp | |
| parent | More forgetting... duh (diff) | |
| parent | Merge pull request #5229 from Morph1984/fullscreen-opt (diff) | |
| download | yuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.tar.gz yuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.tar.xz yuzu-7a3c884e39fccfbb498b855080bffabc9ce2e7f1.zip | |
Merge remote-tracking branch 'upstream/master' into int-flags
Diffstat (limited to 'src/yuzu_tester/config.cpp')
| -rw-r--r-- | src/yuzu_tester/config.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/yuzu_tester/config.cpp b/src/yuzu_tester/config.cpp index bc273fb51..0aa143e1f 100644 --- a/src/yuzu_tester/config.cpp +++ b/src/yuzu_tester/config.cpp | |||
| @@ -47,13 +47,13 @@ bool Config::LoadINI(const std::string& default_contents, bool retry) { | |||
| 47 | 47 | ||
| 48 | void Config::ReadValues() { | 48 | void Config::ReadValues() { |
| 49 | // Controls | 49 | // Controls |
| 50 | for (std::size_t p = 0; p < Settings::values.players.size(); ++p) { | 50 | for (std::size_t p = 0; p < Settings::values.players.GetValue().size(); ++p) { |
| 51 | for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) { | 51 | for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) { |
| 52 | Settings::values.players[p].buttons[i] = ""; | 52 | Settings::values.players.GetValue()[p].buttons[i] = ""; |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | for (int i = 0; i < Settings::NativeAnalog::NumAnalogs; ++i) { | 55 | for (int i = 0; i < Settings::NativeAnalog::NumAnalogs; ++i) { |
| 56 | Settings::values.players[p].analogs[i] = ""; | 56 | Settings::values.players.GetValue()[p].analogs[i] = ""; |
| 57 | } | 57 | } |
| 58 | } | 58 | } |
| 59 | 59 | ||
| @@ -75,8 +75,9 @@ void Config::ReadValues() { | |||
| 75 | Settings::values.debug_pad_analogs[i] = ""; | 75 | Settings::values.debug_pad_analogs[i] = ""; |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | Settings::values.vibration_enabled = true; | 78 | Settings::values.vibration_enabled.SetValue(true); |
| 79 | Settings::values.motion_enabled = true; | 79 | Settings::values.enable_accurate_vibrations.SetValue(false); |
| 80 | Settings::values.motion_enabled.SetValue(true); | ||
| 80 | Settings::values.touchscreen.enabled = ""; | 81 | Settings::values.touchscreen.enabled = ""; |
| 81 | Settings::values.touchscreen.device = ""; | 82 | Settings::values.touchscreen.device = ""; |
| 82 | Settings::values.touchscreen.finger = 0; | 83 | Settings::values.touchscreen.finger = 0; |
| @@ -84,8 +85,8 @@ void Config::ReadValues() { | |||
| 84 | Settings::values.touchscreen.diameter_x = 15; | 85 | Settings::values.touchscreen.diameter_x = 15; |
| 85 | Settings::values.touchscreen.diameter_y = 15; | 86 | Settings::values.touchscreen.diameter_y = 15; |
| 86 | 87 | ||
| 87 | Settings::values.use_docked_mode = | 88 | Settings::values.use_docked_mode.SetValue( |
| 88 | sdl2_config->GetBoolean("Controls", "use_docked_mode", false); | 89 | sdl2_config->GetBoolean("Controls", "use_docked_mode", true)); |
| 89 | 90 | ||
| 90 | // Data Storage | 91 | // Data Storage |
| 91 | Settings::values.use_virtual_sd = | 92 | Settings::values.use_virtual_sd = |
| @@ -157,7 +158,6 @@ void Config::ReadValues() { | |||
| 157 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); | 158 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); |
| 158 | 159 | ||
| 159 | // Debugging | 160 | // Debugging |
| 160 | Settings::values.use_gdbstub = false; | ||
| 161 | Settings::values.program_args = ""; | 161 | Settings::values.program_args = ""; |
| 162 | Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false); | 162 | Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false); |
| 163 | Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", false); | 163 | Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", false); |