Difference between revisions of "AM:ExportTwlBackup"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AM:ExportDSiWare to AM:ExportTwlBackup)
m
 
Line 8: Line 8:
 
| Header code [0x001B0144]
 
| Header code [0x001B0144]
 
|-
 
|-
| 1
+
| 1-2
| TWL TitleID lower word
+
| u64, TWL Title ID
|-
 
| 2
 
| TWL TitleID upper word
 
 
|-
 
|-
 
| 3
 
| 3
| Input path buffer size
+
| Path Size
 
|-
 
|-
 
| 4
 
| 4
| Size of working buffer, normally this is 0x20000.
+
| Working Buffer Size (normally 0x20000)
 
|-
 
|-
 
| 5
 
| 5
| u8 [[DSiWare_Exports|DSiWare]] export type.
+
| u8, Export Type
 
|-
 
|-
 
| 6
 
| 6
| (PathSize<<8) <nowiki>|</nowiki> 10
+
| (Path Size << 4) <nowiki>|</nowiki> 0xA
 
|-
 
|-
 
| 7
 
| 7
| Input path buffer ptr
+
| Path Pointer
 
|-
 
|-
| 6
+
| 8
| (WorkBufSize<<8) <nowiki>|</nowiki> 12
+
| (Working Buffer Size << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
| 7
+
| 9
| Ptr for the working buffer
+
| Working Buffer Pointer
 
|}
 
|}
  

Latest revision as of 10:14, 17 April 2016

Request[edit]

Index Word Description
0 Header code [0x001B0144]
1-2 u64, TWL Title ID
3 Path Size
4 Working Buffer Size (normally 0x20000)
5 u8, Export Type
6 (Path Size << 4) | 0xA
7 Path Pointer
8 (Working Buffer Size << 4) | 0xC
9 Working Buffer Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is a wrapper for AMPXI:ExportDSiWare.