summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h12
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
17namespace Core {
18class System;
19}
20
17namespace Settings { 21namespace Settings {
18 22
19enum class RendererBackend { 23enum 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
248std::string GetTimeZoneString(); 250std::string GetTimeZoneString();
249 251
250void Apply(); 252void Apply(Core::System& system);
251void LogSettings(); 253void 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
254void RestoreGlobalState(); 256void 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
257void Sanitize(); 259void Sanitize();