From 976995ba08e6441689c2ff9aa3db286a07c083b6 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Wed, 8 Mar 2023 15:05:00 -0800 Subject: [PATCH] cfg: Set system setup complete flag when formatting save. (#6331) --- src/core/hle/service/cfg/cfg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index 68ba0b64f..86ba6b45a 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -639,7 +639,8 @@ ResultCode Module::FormatConfig() { // 0x00110000 - The low u16 indicates whether the system setup is required, such as when the // system is booted for the first time or after doing a System Format: 0 = setup required, // non-zero = no setup required - res = CreateConfigInfoBlk(SystemSetupRequiredBlockID, 0x4, 0xC, zero_buffer); + u32 system_setup_flag = 1; + res = CreateConfigInfoBlk(SystemSetupRequiredBlockID, 0x4, 0xC, &system_setup_flag); if (!res.IsSuccess()) return res;