FSReg:LoadProgram: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
LoadProgram
 
Steveice10 (talk | contribs)
m Use common types.
 
Line 9: Line 9:
|-
|-
| 1-4
| 1-4
| ProgramInfo struct
| [[Filesystem_services#ProgramInfo|Program Info]]
|}
|}


Line 26: Line 26:
| 2-3
| 2-3
| u64, Program Handle
| u64, Program Handle
|}
=ProgramInfo=
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x0
| 0x8
| u64 programId
|-
| 0x8
| 0x1
| u8 mediatype
|-
| 0xC
| 0x4
| u32 reserved
|}
|}

Latest revision as of 23:50, 17 October 2015

Request

Index Word Description
0 Header code [0x04040100]
1-4 Program Info

Response

Index Word Description
0 Header code
1 Result code
2-3 u64, Program Handle