mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #1732 from wwylele/config00170000
add config block 0x00170000; remove duplicated content
This commit is contained in:
		
						commit
						a6e76c0903
					
				@ -389,6 +389,10 @@ ResultCode FormatConfig() {
 | 
				
			|||||||
    res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
 | 
					    res = CreateConfigInfoBlk(0x000F0004, sizeof(CONSOLE_MODEL), 0xC, &CONSOLE_MODEL);
 | 
				
			||||||
    if (!res.IsSuccess()) return res;
 | 
					    if (!res.IsSuccess()) return res;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // 0x00170000 - Unknown
 | 
				
			||||||
 | 
					    res = CreateConfigInfoBlk(0x00170000, 0x4, 0xE, zero_buffer);
 | 
				
			||||||
 | 
					    if (!res.IsSuccess()) return res;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Save the buffer to the file
 | 
					    // Save the buffer to the file
 | 
				
			||||||
    res = UpdateConfigNANDSavegame();
 | 
					    res = UpdateConfigNANDSavegame();
 | 
				
			||||||
    if (!res.IsSuccess())
 | 
					    if (!res.IsSuccess())
 | 
				
			||||||
 | 
				
			|||||||
@ -97,19 +97,6 @@ void GetCountryCodeString(Service::Interface* self);
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
void GetCountryCodeID(Service::Interface* self);
 | 
					void GetCountryCodeID(Service::Interface* self);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * CFG::GetConfigInfoBlk2 service function
 | 
					 | 
				
			||||||
 *  Inputs:
 | 
					 | 
				
			||||||
 *      0 : 0x00010082
 | 
					 | 
				
			||||||
 *      1 : Size
 | 
					 | 
				
			||||||
 *      2 : Block ID
 | 
					 | 
				
			||||||
 *      3 : Descriptor for the output buffer
 | 
					 | 
				
			||||||
 *      4 : Output buffer pointer
 | 
					 | 
				
			||||||
 *  Outputs:
 | 
					 | 
				
			||||||
 *      1 : Result of function, 0 on success, otherwise error code
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
void GetConfigInfoBlk2(Service::Interface* self);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * CFG::SecureInfoGetRegion service function
 | 
					 * CFG::SecureInfoGetRegion service function
 | 
				
			||||||
 *  Inputs:
 | 
					 *  Inputs:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user