mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-11-01 20:57:52 +00:00
cfg: add config block 0x00090000
This commit is contained in:
parent
3b4f134c08
commit
dd5c15abd0
1 changed files with 8 additions and 2 deletions
|
@ -45,7 +45,8 @@ static_assert(sizeof(SaveFileConfig) == 0x455C,
|
||||||
enum ConfigBlockID {
|
enum ConfigBlockID {
|
||||||
StereoCameraSettingsBlockID = 0x00050005,
|
StereoCameraSettingsBlockID = 0x00050005,
|
||||||
SoundOutputModeBlockID = 0x00070001,
|
SoundOutputModeBlockID = 0x00070001,
|
||||||
ConsoleUniqueIDBlockID = 0x00090001,
|
ConsoleUniqueID1BlockID = 0x00090000,
|
||||||
|
ConsoleUniqueID2BlockID = 0x00090001,
|
||||||
UsernameBlockID = 0x000A0000,
|
UsernameBlockID = 0x000A0000,
|
||||||
BirthdayBlockID = 0x000A0001,
|
BirthdayBlockID = 0x000A0001,
|
||||||
LanguageBlockID = 0x000A0002,
|
LanguageBlockID = 0x000A0002,
|
||||||
|
@ -409,7 +410,12 @@ ResultCode FormatConfig() {
|
||||||
if (!res.IsSuccess())
|
if (!res.IsSuccess())
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
res = CreateConfigInfoBlk(ConsoleUniqueIDBlockID, sizeof(CONSOLE_UNIQUE_ID), 0xE,
|
res = CreateConfigInfoBlk(ConsoleUniqueID1BlockID, sizeof(CONSOLE_UNIQUE_ID), 0xE,
|
||||||
|
&CONSOLE_UNIQUE_ID);
|
||||||
|
if (!res.IsSuccess())
|
||||||
|
return res;
|
||||||
|
|
||||||
|
res = CreateConfigInfoBlk(ConsoleUniqueID2BlockID, sizeof(CONSOLE_UNIQUE_ID), 0xE,
|
||||||
&CONSOLE_UNIQUE_ID);
|
&CONSOLE_UNIQUE_ID);
|
||||||
if (!res.IsSuccess())
|
if (!res.IsSuccess())
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue