Difference between revisions of "AMPXI:GetDSiWareExportSize"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x004F00C0] |- | 1 | TWL TitleID lower word |- | 2 | TWL TitleID upper word |- | 3...")
 
m
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
| Header code [0x004F00C0]
 
| Header code [0x004F00C0]
 
|-
 
|-
| 1
+
| 1-2
| TWL TitleID lower word
+
| u64, TWL Title ID
|-
 
| 2
 
| TWL TitleID upper word
 
 
|-
 
|-
 
| 3
 
| 3
| u8 DSiWare export type.
+
| u8, DSiWare export type
 
|}
 
|}
  
Line 25: Line 22:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x004F0080]
 
|-
 
|-
 
| 1
 
| 1
Line 31: Line 28:
 
|-
 
|-
 
| 2
 
| 2
| Total size for the DSiWare export .bin.
+
| Total size for the DSiWare export .bin
 
|}
 
|}
  
 
=Description=
 
=Description=
This obtains the total size of the DSiWare [[DSiWare_Exports|export]] .bin for the specified title, using data loaded from NAND.
+
This obtains the total size of the DSiWare [[DSiWare_Exports|export]] .bin for the specified title, using data loaded from NAND. When NATIVE_FIRM uses the input export type, the type value must be 0, 7, or 12.

Latest revision as of 02:07, 10 January 2016

Request[edit]

Index Word Description
0 Header code [0x004F00C0]
1-2 u64, TWL Title ID
3 u8, DSiWare export type

Response[edit]

Index Word Description
0 Header code [0x004F0080]
1 Result code
2 Total size for the DSiWare export .bin

Description[edit]

This obtains the total size of the DSiWare export .bin for the specified title, using data loaded from NAND. When NATIVE_FIRM uses the input export type, the type value must be 0, 7, or 12.