Difference between revisions of "NSS:RebootSystem"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0010....] |- | 1 | u8 flag |- | 2-5 | 0x10-byte [[FS:GetProgramLaunchInfo|struct...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x0010....]
+
| Header code [0x00100180]
 
|-
 
|-
 
| 1
 
| 1
| u8 flag
+
| u8, Launch Title (0 = don't launch, 1 = launch)
 
|-
 
|-
 
| 2-5
 
| 2-5
| 0x10-byte [[FS:GetProgramLaunchInfo|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 04: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.