Difference between revisions of "NSS:RebootSystem"

From 3dbrew
Jump to navigation Jump to search
m (Update link.)
m
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8 flag
+
| u8, Launch Title (0 = don't launch, 1 = launch)
 
|-
 
|-
 
| 2-5
 
| 2-5
| [[FSReg:LoadProgram#ProgramInfo|ProgramInfo struct]] for the input title.
+
| Title [[Filesystem_services#ProgramInfo|ProgramInfo]]
 
|-
 
|-
 
| 6
 
| 6
| u8, this is written to the u8 at FIRM parambuf+0x400.
+
| u8, Launch [[Configuration_Memory#APPMEMTYPE|APPMEMTYPE]]
 
|}
 
|}
  
Line 32: Line 32:
  
 
=Description=
 
=Description=
When the input u8 flag is non-zero, the input title info struct is written to the [[FIRM]] parambuf, otherwise the title-info stored in the parambuf is cleared. The rest of the code executed here is the same as [[APT:StartNewestHomeMenu]], without the [[NS|APT:PrepareToStartNewestHomeMenu]]-related code.
+
When set to launch the provided title, the input [[Filesystem_services#ProgramInfo|ProgramInfo]] is written to the [[FIRM]] parameter buffer. Otherwise, the [[Filesystem_services#ProgramInfo|ProgramInfo]] stored in the parameter buffer is cleared. The rest of the code executed here is the same as [[APT:StartNewestHomeMenu]], without the [[APT:PrepareToStartNewestHomeMenu]]-related code.

Latest revision as of 05:37, 20 January 2016

Request[edit]

Index Word Description
0 Header code [0x00100180]
1 u8, Launch Title (0 = don't launch, 1 = launch)
2-5 Title ProgramInfo
6 u8, Launch APPMEMTYPE

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

When set to launch the provided title, the input ProgramInfo is written to the FIRM parameter buffer. Otherwise, the ProgramInfo stored in the parameter buffer is cleared. The rest of the code executed here is the same as APT:StartNewestHomeMenu, without the APT:PrepareToStartNewestHomeMenu-related code.