diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index 982dc03f4..bc37f733f 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -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())