mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
cfg: Set system setup complete flag when formatting save. (#6331)
This commit is contained in:
parent
07e02a1acf
commit
976995ba08
@ -639,7 +639,8 @@ ResultCode Module::FormatConfig() {
|
|||||||
// 0x00110000 - The low u16 indicates whether the system setup is required, such as when the
|
// 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,
|
// system is booted for the first time or after doing a System Format: 0 = setup required,
|
||||||
// non-zero = no 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())
|
if (!res.IsSuccess())
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user