AM:ReadTwlBackupInfo: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001E00C8] |- | 1 | Buffer 1 Size |- | 2 | Buffer 2 Size |- | 3 | Buffer 3 Siz..." |
No edit summary |
||
| Line 21: | Line 21: | ||
|- | |- | ||
| 5 | | 5 | ||
| Handle | | [[Filesystem_services|FSFile]] Handle | ||
|- | |- | ||
| 6 | | 6 | ||
| Line 54: | Line 54: | ||
| Result code | | Result code | ||
|} | |} | ||
=Description= | |||
The specified [[DSiWare_Exports|file]] size must be >=0x4500. This reads data from the specified file, and writes the decrypted+verified section data into the last 2 output buffers. This also writes some data into Buf1. | |||
Revision as of 21:45, 17 October 2016
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x001E00C8] |
| 1 | Buffer 1 Size |
| 2 | Buffer 2 Size |
| 3 | Buffer 3 Size |
| 4 | 0x10 |
| 5 | FSFile Handle |
| 6 | (Buffer 1 Size << 4) | 0xC |
| 7 | Buffer 1 Pointer |
| 8 | (Buffer 2 Size << 4) | 0xC |
| 9 | Buffer 2 Pointer |
| 10 | (Buffer 3 Size << 4) | 0xC |
| 11 | Buffer 3 Pointer |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
Description
The specified file size must be >=0x4500. This reads data from the specified file, and writes the decrypted+verified section data into the last 2 output buffers. This also writes some data into Buf1.