AM:GetRequiredSizeFromCia

From 3dbrew
Revision as of 07:45, 16 April 2016 by Steveice10 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x040D0042] |- | 1 | MediaType |- | 2 | Value...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x040D0042]
1 MediaType
2 Value 0x0 for the send-handle translate header for the ARM11 kernel.
3 File handle

Response

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

Description

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