summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-09-03 18:03:17 -0300
committerGravatar Yuri Kunde Schlesner2015-09-14 17:39:51 -0300
commit13a8e3981311a412c03a910a2ee709d2ec9233ea (patch)
tree1f37fb0a111abb84849c7c55c373b9ee7e542ed0 /src/core
parentCMake: Silence more MSVC "deprecation" warnings (diff)
downloadyuzu-13a8e3981311a412c03a910a2ee709d2ec9233ea.tar.gz
yuzu-13a8e3981311a412c03a910a2ee709d2ec9233ea.tar.xz
yuzu-13a8e3981311a412c03a910a2ee709d2ec9233ea.zip
Service/CFG: Correct flags in 2 default blocks
Verified against a 9.2.0-20 config save
Diffstat (limited to 'src/core')
-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 0c65d6fcc..0c04a88ce 100644
--- a/src/core/hle/service/cfg/cfg.cpp
+++ b/src/core/hle/service/cfg/cfg.cpp
@@ -332,7 +332,7 @@ ResultCode FormatConfig() {
332 if (!res.IsSuccess()) return res; 332 if (!res.IsSuccess()) return res;
333 res = CreateConfigInfoBlk(0x000A0000, sizeof(CONSOLE_USERNAME_BLOCK), 0xE, &CONSOLE_USERNAME_BLOCK); 333 res = CreateConfigInfoBlk(0x000A0000, sizeof(CONSOLE_USERNAME_BLOCK), 0xE, &CONSOLE_USERNAME_BLOCK);
334 if (!res.IsSuccess()) return res; 334 if (!res.IsSuccess()) return res;
335 res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xA, &CONSOLE_LANGUAGE); 335 res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xE, &CONSOLE_LANGUAGE);
336 if (!res.IsSuccess()) return res; 336 if (!res.IsSuccess()) return res;
337 res = CreateConfigInfoBlk(0x000B0000, sizeof(COUNTRY_INFO), 0xE, &COUNTRY_INFO); 337 res = CreateConfigInfoBlk(0x000B0000, sizeof(COUNTRY_INFO), 0xE, &COUNTRY_INFO);
338 if (!res.IsSuccess()) return res; 338 if (!res.IsSuccess()) return res;
@@ -364,7 +364,7 @@ ResultCode FormatConfig() {
364 res = CreateConfigInfoBlk(0x000D0000, 0x4, 0xE, zero_buffer); 364 res = CreateConfigInfoBlk(0x000D0000, 0x4, 0xE, zero_buffer);
365 if (!res.IsSuccess()) return res; 365 if (!res.IsSuccess()) return res;
366 366
367 res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0x8, &CONSOLE_MODEL); 367 res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
368 if (!res.IsSuccess()) return res; 368 if (!res.IsSuccess()) return res;
369 369
370 // Save the buffer to the file 370 // Save the buffer to the file