Difference between revisions of "AM:GetRequiredSizeFromCia"

From 3dbrew
Jump to navigation Jump to search
m
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| [[Filesystem_services#MediaType|MediaType]]
+
| [[Filesystem_services#MediaType|Media Type]]
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0 for the send-handle translate header for the ARM11 kernel.
+
| 0x0 (Send-handle translate header)
 
|-
 
|-
 
| 3
 
| 3
| File handle
+
| File Handle
 
|}
 
|}
  
Line 31: Line 31:
 
|-
 
|-
 
| 2-3
 
| 2-3
| u64, Required bytes
+
| u64, Required Bytes
 
|}
 
|}
  
 
=Description=
 
=Description=
 
This retrieves the number of bytes of free space required to install the specified [[CIA]] to the specified destination.
 
This retrieves the number of bytes of free space required to install the specified [[CIA]] to the specified destination.

Latest revision as of 06:30, 17 April 2016

Request[edit]

Index Word Description
0 Header code [0x040D0042]
1 Media Type
2 0x0 (Send-handle translate header)
3 File Handle

Response[edit]

Index Word Description
0 Header code
1 Result code
2-3 u64, Required Bytes

Description[edit]

This retrieves the number of bytes of free space required to install the specified CIA to the specified destination.