diff options
Diffstat (limited to 'src/citra/config.cpp')
| -rw-r--r-- | src/citra/config.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index 69247b166..45c28ad09 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp | |||
| @@ -76,6 +76,11 @@ void Config::ReadValues() { | |||
| 76 | Settings::values.analogs[i] = default_param; | 76 | Settings::values.analogs[i] = default_param; |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | Settings::values.motion_device = sdl2_config->Get( | ||
| 80 | "Controls", "motion_device", "engine:motion_emu,update_period:100,sensitivity:0.01"); | ||
| 81 | Settings::values.touch_device = | ||
| 82 | sdl2_config->Get("Controls", "touch_device", "engine:emu_window"); | ||
| 83 | |||
| 79 | // Core | 84 | // Core |
| 80 | Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true); | 85 | Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true); |
| 81 | 86 | ||
| @@ -153,8 +158,14 @@ void Config::ReadValues() { | |||
| 153 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); | 158 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); |
| 154 | 159 | ||
| 155 | // Web Service | 160 | // Web Service |
| 161 | Settings::values.enable_telemetry = | ||
| 162 | sdl2_config->GetBoolean("WebService", "enable_telemetry", true); | ||
| 156 | Settings::values.telemetry_endpoint_url = sdl2_config->Get( | 163 | Settings::values.telemetry_endpoint_url = sdl2_config->Get( |
| 157 | "WebService", "telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry"); | 164 | "WebService", "telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry"); |
| 165 | Settings::values.verify_endpoint_url = sdl2_config->Get( | ||
| 166 | "WebService", "verify_endpoint_url", "https://services.citra-emu.org/api/profile"); | ||
| 167 | Settings::values.citra_username = sdl2_config->Get("WebService", "citra_username", ""); | ||
| 168 | Settings::values.citra_token = sdl2_config->Get("WebService", "citra_token", ""); | ||
| 158 | } | 169 | } |
| 159 | 170 | ||
| 160 | void Config::Reload() { | 171 | void Config::Reload() { |