1
0
Fork 0

cfg: Set system setup complete flag when formatting save. (#6331)

This commit is contained in:
Steveice10 2023-03-08 15:05:00 -08:00 committed by GitHub
parent 07e02a1acf
commit 976995ba08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;