summaryrefslogtreecommitdiffstats
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 55310fe3d..d5f8d2b7e 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 {
@@ -174,9 +178,7 @@ struct Values {
Setting<bool> motion_enabled;
std::string motion_device;
- std::string udp_input_address;
- u16 udp_input_port;
- u8 udp_pad_index;
+ std::string udp_input_servers;
bool emulate_analog_keyboard;
@@ -249,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();