diff options
author | Subv <subv2112@gmail.com> | 2014-12-20 02:10:05 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2014-12-21 22:39:11 +0100 |
commit | 8b0ee935267c23e0d213266cfdb4535b91a8a5c8 (patch) | |
tree | 2669ce4e87f98c3454445faa204165eb6b6d986d /src/core | |
parent | CFGU: Use an absolute offset in the config savefile blocks (diff) | |
download | yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar.gz yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar.bz2 yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar.lz yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar.xz yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.tar.zst yuzu-8b0ee935267c23e0d213266cfdb4535b91a8a5c8.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/cfg_u.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/cfg_u.cpp b/src/core/hle/service/cfg_u.cpp index 33f63a759..ef8e8c3c9 100644 --- a/src/core/hle/service/cfg_u.cpp +++ b/src/core/hle/service/cfg_u.cpp @@ -40,6 +40,8 @@ static const u64 CFG_SAVE_ID = 0x00010017; static const u64 CONSOLE_UNIQUE_ID = 0xDEADC0DE; static const u32 CONSOLE_MODEL = NINTENDO_3DS_XL; static const u8 CONSOLE_LANGUAGE = LANGUAGE_EN; +/// TODO(Subv): Find out what this actually is +static const u8 SOUND_OUTPUT_MODE = 2; static const u32 CONFIG_SAVEFILE_SIZE = 0x8000; static std::array<u8, CONFIG_SAVEFILE_SIZE> cfg_config_file_buffer = { }; @@ -290,6 +292,9 @@ ResultCode FormatConfig() { res = CreateConfigInfoBlk(0x000A0002, 0x1, 0xA, &CONSOLE_LANGUAGE); if (!res.IsSuccess()) return res; + res = CreateConfigInfoBlk(0x00070001, 0x1, 0xE, &SOUND_OUTPUT_MODE); + if (!res.IsSuccess()) + return res; // Save the buffer to the file res = UpdateConfigNANDSavegame(); if (!res.IsSuccess()) |