AM:GetSystemMenuDataFromCia: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Steveice10 moved page AM:GetCiaIcon to AM:GetSystemMenuDataFromCia
Steveice10 (talk | contribs)
mNo edit summary
 
Line 9: Line 9:
|-
|-
| 1
| 1
| Value 0x0 for the send-handle translate header for the ARM11 kernel.
| 0x0 (Send-handle translate header)
|-
|-
| 2
| 2
| File handle
| File Handle
|-
|-
| 3
| 3
| (Size<<4) <nowiki>|</nowiki> 12
| (Size << 4) <nowiki>|</nowiki> 0xC
|-
|-
| 4
| 4
| Output buffer pointer
| Output Buffer Pointer
|}
|}



Latest revision as of 07:29, 17 April 2016

Request

Index Word Description
0 Header code [0x04090004]
1 0x0 (Send-handle translate header)
2 File Handle
3 (Size << 4) | 0xC
4 Output Buffer Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This loads the 0x36C0-byte SMDH icon from the meta section of the specified CIA.

This is used by the DLP-sysmodule for loading the icon used with Download_Play hosting.