AM:ReadTwlBackupInfo: Difference between revisions

TimmSkiller (talk | contribs)
Fix wrong argument order, add more info
Petko (talk | contribs)
Add information on constant in the send buffer. Add missing recieve parameters in the IPC response.
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
|-
|-
| 4
| 4
| 0x10
| 0x10 (Magic Word Header, 0x10 = HANDLE_MOVE, we are moving this handle into the IPC server)
|-
|-
| 5
| 5
Line 53: Line 53:
| 1
| 1
| Result code
| Result code
|-
| 2
| (Output Info Size << 4) <nowiki>|</nowiki> 0xC
|-
| 3
| [[Application_Manager_Services#TwlBackupInfo|TwlBackupInfo]] Output Pointer.
|-
| 4
| (Banner Size << 4) <nowiki>|</nowiki> 0xC
|-
| 5
| [[DSiWare_Exports|DSiWare]] Banner Output Pointer.
|-
| 6
| (Working Buffer Size << 4) <nowiki>|</nowiki> 0xC
|-
| 7
| Working Buffer Pointer
|}
|}


=Description=
=Description=
The specified [[DSiWare_Exports|file]] size must be at least 0x4500. This reads the DSiWare header+banner from the file, and decrypts+verifies these sections..
The specified [[DSiWare_Exports|file]] size must be at least 0x4500. This reads the DSiWare header+banner from the file, and decrypts+verifies these sections.
 
It should be noted that this command is meant for use with Exports that use 11 content sections.