diff options
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 1143aba5d..8e076f7ef 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -14,6 +14,10 @@ | |||
| 14 | #include "common/common_types.h" | 14 | #include "common/common_types.h" |
| 15 | #include "input_common/settings.h" | 15 | #include "input_common/settings.h" |
| 16 | 16 | ||
| 17 | namespace Core { | ||
| 18 | class System; | ||
| 19 | } | ||
| 20 | |||
| 17 | namespace Settings { | 21 | namespace Settings { |
| 18 | 22 | ||
| 19 | enum class RendererBackend { | 23 | enum class RendererBackend { |
| @@ -174,9 +178,7 @@ struct Values { | |||
| 174 | 178 | ||
| 175 | Setting<bool> motion_enabled; | 179 | Setting<bool> motion_enabled; |
| 176 | std::string motion_device; | 180 | std::string motion_device; |
| 177 | std::string udp_input_address; | 181 | std::string udp_input_servers; |
| 178 | u16 udp_input_port; | ||
| 179 | u8 udp_pad_index; | ||
| 180 | 182 | ||
| 181 | bool mouse_enabled; | 183 | bool mouse_enabled; |
| 182 | std::string mouse_device; | 184 | std::string mouse_device; |
| @@ -247,11 +249,11 @@ float Volume(); | |||
| 247 | 249 | ||
| 248 | std::string GetTimeZoneString(); | 250 | std::string GetTimeZoneString(); |
| 249 | 251 | ||
| 250 | void Apply(); | 252 | void Apply(Core::System& system); |
| 251 | void LogSettings(); | 253 | void LogSettings(); |
| 252 | 254 | ||
| 253 | // Restore the global state of all applicable settings in the Values struct | 255 | // Restore the global state of all applicable settings in the Values struct |
| 254 | void RestoreGlobalState(); | 256 | void RestoreGlobalState(bool is_powered_on); |
| 255 | 257 | ||
| 256 | // Fixes settings that are known to cause issues with the emulator | 258 | // Fixes settings that are known to cause issues with the emulator |
| 257 | void Sanitize(); | 259 | void Sanitize(); |