AM:ReadTwlBackupInfo: Difference between revisions

No edit summary
No edit summary
Line 33: Line 33:
|-
|-
| 9
| 9
| Buffer 2 Pointer, [[DSiWare_Exports|DSiWare]] header.
| Buffer 2 Pointer, work buffer.
|-
|-
| 10
| 10
Line 39: Line 39:
|-
|-
| 11
| 11
| Buffer 3 Pointer, [[DSiWare_Exports|DSiWare]] banner. Processing is skipped for this when the pointer is NULL.
| Buffer 3 Pointer, output [[DSiWare_Exports|DSiWare]] banner. Processing is skipped for this when the pointer is NULL.
|}
|}


Line 56: Line 56:


=Description=
=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.
The specified [[DSiWare_Exports|file]] size must be >=0x4500. This reads the DSiWare header+banner from the file, and decrypts+verifies these sections. This also writes some data into Buf1 using the plaintext header.