Changes

961 bytes added ,  20:21, 4 January 2015
Line 755: Line 755:     
== Home Menu startup ==
 
== Home Menu startup ==
The following is FS data Home Menu accesses at startup, from [[9.4.0-21]], in the same order Home Menu does it.
+
The following what Home Menu does at startup(converted from cmd-logs), from [[9.4.0-21]], in the same order Home Menu does it.
    
Originally Home Menu mounted sdmc in main(), starting(?) with [[6.0.0-11]] Home Menu only has sdmc mounted while handling [[SD_Savedata_Backups]].
 
Originally Home Menu mounted sdmc in main(), starting(?) with [[6.0.0-11]] Home Menu only has sdmc mounted while handling [[SD_Savedata_Backups]].
Line 765: Line 765:  
!  Read size
 
!  Read size
 
!  Notes
 
!  Notes
 +
|-
 +
|
 +
|
 +
|
 +
| srv_init(), then srv_GetServiceHandle is used to initialize the service handles for the following services: [[NS_and_APT_Services|ns:s]], [[PTM|ptm:sysm]], and [[Config_Services|cfg:s]].
 +
|-
 +
|
 +
|
 +
|
 +
| [[CfgS:SecureInfoGetByte101]] and [[CfgS:GetLocalFriendCodeSeed]] are used, the output data from these are not used. If either of these return an error, Home Menu uses [[ErrDisp|ThrowFatalError]].
 +
|-
 +
|
 +
|
 +
|
 +
| [[Cfg:GetSystemModel]] is then used to initialize a Home Menu state field.
 +
|-
 +
|
 +
|
 +
|
 +
| Home Menu then loads the system language via [[CfgS:GetConfigInfoBlk2]], and uses [[Cfg:SecureInfoGetRegion]], to initialize Home Menu region/language state. Home Menu then uses [[Cfg:SecureInfoGetRegion]] again, then loads the [[Config_Savegame|CountryInfo]] via [[CfgS:GetConfigInfoBlk2]].
 +
|-
 +
|
 +
|
 +
|
 +
| Home Menu initializes [[Filesystem_services|fs:USER]] here. Home Menu then starts reading data from the Home Menu CXI RomFS.
 
|-
 
|-
 
| Home Menu [[System_SaveData]]
 
| Home Menu [[System_SaveData]]