mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	cfg: Set system setup complete flag when formatting save. (#6331)
This commit is contained in:
		
							parent
							
								
									07e02a1acf
								
							
						
					
					
						commit
						976995ba08
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue