summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-02-24 18:16:02 +0100
committergerman77 <juangerman-13@hotmail.com>2024-02-24 18:19:51 +0100
commit4741e5004713695e04e726ab54f7204b4fce5db9 (patch)
treed3326831453b6da9dc5b7807088f70e108c7c425 /src/core/hle/service
parentMerge pull request #13142 from t895/vibration-queue (diff)
downloadyuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar.gz
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar.bz2
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar.lz
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar.xz
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.tar.zst
yuzu-4741e5004713695e04e726ab54f7204b4fce5db9.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/set/setting_formats/system_settings.cpp4
-rw-r--r--src/core/hle/service/set/system_settings_server.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/set/setting_formats/system_settings.cpp b/src/core/hle/service/set/setting_formats/system_settings.cpp
index 7231ff78e..caa30c2d5 100644
--- a/src/core/hle/service/set/setting_formats/system_settings.cpp
+++ b/src/core/hle/service/set/setting_formats/system_settings.cpp
@@ -52,6 +52,10 @@ SystemSettings DefaultSystemSettings() {
settings.battery_percentage_flag = true;
settings.chinese_traditional_input_method = ChineseTraditionalInputMethod::Unknown0;
settings.vibration_master_volume = 1.0f;
+ settings.touch_screen_mode = TouchScreenMode::Standard;
+ settings.nfc_enable_flag = true;
+ settings.bluetooth_enable_flag = true;
+ settings.wireless_lan_enable_flag = true;
const auto language_code =
available_language_codes[static_cast<s32>(::Settings::values.language_index.GetValue())];
diff --git a/src/core/hle/service/set/system_settings_server.cpp b/src/core/hle/service/set/system_settings_server.cpp
index 45def67db..f514519bb 100644
--- a/src/core/hle/service/set/system_settings_server.cpp
+++ b/src/core/hle/service/set/system_settings_server.cpp
@@ -26,7 +26,7 @@
namespace Service::Set {
namespace {
-constexpr u32 SETTINGS_VERSION{3u};
+constexpr u32 SETTINGS_VERSION{4u};
constexpr auto SETTINGS_MAGIC = Common::MakeMagic('y', 'u', 'z', 'u', '_', 's', 'e', 't');
struct SettingsHeader {
u64 magic;