diff options
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 1fbe940b0..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 { |
| @@ -245,11 +249,11 @@ float Volume(); | |||
| 245 | 249 | ||
| 246 | std::string GetTimeZoneString(); | 250 | std::string GetTimeZoneString(); |
| 247 | 251 | ||
| 248 | void Apply(); | 252 | void Apply(Core::System& system); |
| 249 | void LogSettings(); | 253 | void LogSettings(); |
| 250 | 254 | ||
| 251 | // 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 |
| 252 | void RestoreGlobalState(); | 256 | void RestoreGlobalState(bool is_powered_on); |
| 253 | 257 | ||
| 254 | // Fixes settings that are known to cause issues with the emulator | 258 | // Fixes settings that are known to cause issues with the emulator |
| 255 | void Sanitize(); | 259 | void Sanitize(); |