cfg-savegame: add DebugMode block (#5330)
This commit is contained in:
parent
7f1a87574b
commit
2874401703
|
@ -74,6 +74,7 @@ enum ConfigBlockID {
|
|||
StateNameBlockID = 0x000B0002,
|
||||
EULAVersionBlockID = 0x000D0000,
|
||||
ConsoleModelBlockID = 0x000F0004,
|
||||
DebugModeBlockID = 0x00130000,
|
||||
};
|
||||
|
||||
struct UsernameBlock {
|
||||
|
@ -542,6 +543,11 @@ ResultCode Module::FormatConfig() {
|
|||
if (!res.IsSuccess())
|
||||
return res;
|
||||
|
||||
// 0x00130000 - DebugMode (0x100 for debug mode)
|
||||
res = CreateConfigInfoBlk(DebugModeBlockID, 0x4, 0xE, zero_buffer);
|
||||
if (!res.IsSuccess())
|
||||
return res;
|
||||
|
||||
// 0x00170000 - Unknown
|
||||
res = CreateConfigInfoBlk(0x00170000, 0x4, 0xE, zero_buffer);
|
||||
if (!res.IsSuccess())
|
||||
|
|
Reference in New Issue