mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-22 20:15:36 +00:00
Merge pull request #13153 from german77/defaultset
service: set: Enable nfc and others by default and bump version
This commit is contained in:
commit
05f94dc5fc
|
@ -52,6 +52,10 @@ SystemSettings DefaultSystemSettings() {
|
||||||
settings.battery_percentage_flag = true;
|
settings.battery_percentage_flag = true;
|
||||||
settings.chinese_traditional_input_method = ChineseTraditionalInputMethod::Unknown0;
|
settings.chinese_traditional_input_method = ChineseTraditionalInputMethod::Unknown0;
|
||||||
settings.vibration_master_volume = 1.0f;
|
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 =
|
const auto language_code =
|
||||||
available_language_codes[static_cast<s32>(::Settings::values.language_index.GetValue())];
|
available_language_codes[static_cast<s32>(::Settings::values.language_index.GetValue())];
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
namespace Service::Set {
|
namespace Service::Set {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
constexpr u32 SETTINGS_VERSION{3u};
|
constexpr u32 SETTINGS_VERSION{4u};
|
||||||
constexpr auto SETTINGS_MAGIC = Common::MakeMagic('y', 'u', 'z', 'u', '_', 's', 'e', 't');
|
constexpr auto SETTINGS_MAGIC = Common::MakeMagic('y', 'u', 'z', 'u', '_', 's', 'e', 't');
|
||||||
struct SettingsHeader {
|
struct SettingsHeader {
|
||||||
u64 magic;
|
u64 magic;
|
||||||
|
|
Loading…
Reference in a new issue