mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-28 18:30:16 +00:00
Service/CFG: Add default entry for block 0x000A0001 (birthday)
This commit is contained in:
parent
13a8e39813
commit
bbf92a54e5
1 changed files with 6 additions and 0 deletions
|
@ -332,6 +332,12 @@ ResultCode FormatConfig() {
|
||||||
if (!res.IsSuccess()) return res;
|
if (!res.IsSuccess()) return res;
|
||||||
res = CreateConfigInfoBlk(0x000A0000, sizeof(CONSOLE_USERNAME_BLOCK), 0xE, &CONSOLE_USERNAME_BLOCK);
|
res = CreateConfigInfoBlk(0x000A0000, sizeof(CONSOLE_USERNAME_BLOCK), 0xE, &CONSOLE_USERNAME_BLOCK);
|
||||||
if (!res.IsSuccess()) return res;
|
if (!res.IsSuccess()) return res;
|
||||||
|
|
||||||
|
// 0x000A0001 - Profile birthday
|
||||||
|
const u8 profile_birthday[2] = {3, 25}; // March 25th, 2014
|
||||||
|
res = CreateConfigInfoBlk(0x000A0001, sizeof(profile_birthday), 0xE, profile_birthday);
|
||||||
|
if (!res.IsSuccess()) return res;
|
||||||
|
|
||||||
res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xE, &CONSOLE_LANGUAGE);
|
res = CreateConfigInfoBlk(0x000A0002, sizeof(CONSOLE_LANGUAGE), 0xE, &CONSOLE_LANGUAGE);
|
||||||
if (!res.IsSuccess()) return res;
|
if (!res.IsSuccess()) return res;
|
||||||
res = CreateConfigInfoBlk(0x000B0000, sizeof(COUNTRY_INFO), 0xE, &COUNTRY_INFO);
|
res = CreateConfigInfoBlk(0x000B0000, sizeof(COUNTRY_INFO), 0xE, &COUNTRY_INFO);
|
||||||
|
|
Loading…
Reference in a new issue