diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-27 16:50:48 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-11-27 17:40:45 +0100 |
commit | 5bc4eabe36b7ef4dcd5ad8db1e944705655be432 (patch) | |
tree | 285ffb3801aa773cb3537f77153a9e432390f6b8 /src/core/settings.h | |
parent | Merge pull request #5023 from lioncash/save-global (diff) | |
download | yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.gz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.bz2 yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.lz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.xz yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.tar.zst yuzu-5bc4eabe36b7ef4dcd5ad8db1e944705655be432.zip |
Diffstat (limited to '')
-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 1143aba5d..3df611d5b 100644 --- a/src/core/settings.h +++ b/src/core/settings.h @@ -14,6 +14,10 @@ #include "common/common_types.h" #include "input_common/settings.h" +namespace Core { +class System; +} + namespace Settings { enum class RendererBackend { @@ -247,11 +251,11 @@ float Volume(); std::string GetTimeZoneString(); -void Apply(); +void Apply(Core::System& system); void LogSettings(); // Restore the global state of all applicable settings in the Values struct -void RestoreGlobalState(); +void RestoreGlobalState(bool is_powered_on); // Fixes settings that are known to cause issues with the emulator void Sanitize(); |