mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Add common methods to all cfg:* ports
This commit is contained in:
		
							parent
							
								
									2bc88032e2
								
							
						
					
					
						commit
						1ce8cb148c
					
				
					 3 changed files with 21 additions and 0 deletions
				
			
		|  | @ -9,6 +9,18 @@ namespace Service { | |||
| namespace CFG { | ||||
| 
 | ||||
| const Interface::FunctionInfo FunctionTable[] = { | ||||
|     // cfg common
 | ||||
|     {0x00010082, GetConfigInfoBlk2,                    "GetConfigInfoBlk2"}, | ||||
|     {0x00020000, SecureInfoGetRegion,                  "SecureInfoGetRegion"}, | ||||
|     {0x00030040, GenHashConsoleUnique,                 "GenHashConsoleUnique"}, | ||||
|     {0x00040000, GetRegionCanadaUSA,                   "GetRegionCanadaUSA"}, | ||||
|     {0x00050000, GetSystemModel,                       "GetSystemModel"}, | ||||
|     {0x00060000, GetModelNintendo2DS,                  "GetModelNintendo2DS"}, | ||||
|     {0x00070040, nullptr,                              "WriteToFirstByteCfgSavegame"}, | ||||
|     {0x00080080, nullptr,                              "GoThroughTable"}, | ||||
|     {0x00090040, GetCountryCodeString,                 "GetCountryCodeString"}, | ||||
|     {0x000A0040, GetCountryCodeID,                     "GetCountryCodeID"}, | ||||
|     // cfg:i
 | ||||
|     {0x04010082, GetConfigInfoBlk8,                    "GetConfigInfoBlk8"}, | ||||
|     {0x04020082, nullptr,                              "SetConfigInfoBlk4"}, | ||||
|     {0x04030000, UpdateConfigNANDSavegame,             "UpdateConfigNANDSavegame"}, | ||||
|  |  | |||
|  | @ -9,10 +9,18 @@ namespace Service { | |||
| namespace CFG { | ||||
| 
 | ||||
| const Interface::FunctionInfo FunctionTable[] = { | ||||
|     // cfg common
 | ||||
|     {0x00010082, GetConfigInfoBlk2,                    "GetConfigInfoBlk2"}, | ||||
|     {0x00020000, SecureInfoGetRegion,                  "SecureInfoGetRegion"}, | ||||
|     {0x00030040, GenHashConsoleUnique,                 "GenHashConsoleUnique"}, | ||||
|     {0x00040000, GetRegionCanadaUSA,                   "GetRegionCanadaUSA"}, | ||||
|     {0x00050000, GetSystemModel,                       "GetSystemModel"}, | ||||
|     {0x00060000, GetModelNintendo2DS,                  "GetModelNintendo2DS"}, | ||||
|     {0x00070040, nullptr,                              "WriteToFirstByteCfgSavegame"}, | ||||
|     {0x00080080, nullptr,                              "GoThroughTable"}, | ||||
|     {0x00090040, GetCountryCodeString,                 "GetCountryCodeString"}, | ||||
|     {0x000A0040, GetCountryCodeID,                     "GetCountryCodeID"}, | ||||
|     // cfg:s
 | ||||
|     {0x04010082, GetConfigInfoBlk8,                    "GetConfigInfoBlk8"}, | ||||
|     {0x04020082, nullptr,                              "SetConfigInfoBlk4"}, | ||||
|     {0x04030000, UpdateConfigNANDSavegame,             "UpdateConfigNANDSavegame"}, | ||||
|  |  | |||
|  | @ -9,6 +9,7 @@ namespace Service { | |||
| namespace CFG { | ||||
| 
 | ||||
| const Interface::FunctionInfo FunctionTable[] = { | ||||
|     // cfg common
 | ||||
|     {0x00010082, GetConfigInfoBlk2,     "GetConfigInfoBlk2"}, | ||||
|     {0x00020000, SecureInfoGetRegion,   "SecureInfoGetRegion"}, | ||||
|     {0x00030040, GenHashConsoleUnique,  "GenHashConsoleUnique"}, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue