aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-03 18:03:17 -0300
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-14 17:39:51 -0300
commit13a8e3981311a412c03a910a2ee709d2ec9233ea (patch)
tree1f37fb0a111abb84849c7c55c373b9ee7e542ed0 /src
parentf226365f55f7b3468d54e7af6c42f1198da0af94 (diff)
Service/CFG: Correct flags in 2 default blocks
Verified against a 9.2.0-20 config save
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/cfg/cfg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp
index 0c65d6fcc1..0c04a88cee 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -332,7 +332,7 @@ ResultCode FormatConfig() {
if (!res.IsSuccess()) return res;
res = CreateConfigInfoBlk(0x000A0000, sizeof(CONSOLE_USERNAME_BLOCK), 0xE, &CONSOLE_USERNAME_BLOCK);
if (!res.IsSuccess()) return res;
- res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xA, &CONSOLE_LANGUAGE);
+ res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xE, &CONSOLE_LANGUAGE);
if (!res.IsSuccess()) return res;
res = CreateConfigInfoBlk(0x000B0000, sizeof(COUNTRY_INFO), 0xE, &COUNTRY_INFO);
if (!res.IsSuccess()) return res;
@@ -364,7 +364,7 @@ ResultCode FormatConfig() {
res = CreateConfigInfoBlk(0x000D0000, 0x4, 0xE, zero_buffer);
if (!res.IsSuccess()) return res;
- res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0x8, &CONSOLE_MODEL);
+ res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
if (!res.IsSuccess()) return res;
// Save the buffer to the file