Difference between revisions of "APT:SendDeliverArg"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00340084] |- | 1 | Size0, size 0x300 is used if this is >0x300. |- | 2 | Size1, ...")
 
m
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Size0, size 0x300 is used if this is >0x300.
+
| Parameter Size (capped to 0x300)
 
|-
 
|-
 
| 2
 
| 2
| Size1, size 0x20 is used if this is >0x20.
+
| HMAC Size (capped to 0x20)
 
|-
 
|-
 
| 3
 
| 3
| <nowiki>(Size0<<14) | 2</nowiki>
+
| <nowiki>(Parameter Size << 14) | 2</nowiki>
 
|-
 
|-
 
| 4
 
| 4
| Input buf0 ptr
+
| void*, Parameter
 
|-
 
|-
 
| 5
 
| 5
| <nowiki>(Size1<<14) | 0x802</nowiki>
+
| <nowiki>(HMAC Size << 14) | 0x802</nowiki>
 
|-
 
|-
 
| 6
 
| 6
| Input buf1 ptr
+
| void*, HMAC
 
|}
 
|}
  

Latest revision as of 05:28, 22 November 2015

Request[edit]

Index Word Description
0 Header code [0x00340084]
1 Parameter Size (capped to 0x300)
2 HMAC Size (capped to 0x20)
3 (Parameter Size << 14) | 2
4 void*, Parameter
5 (HMAC Size << 14) | 0x802
6 void*, HMAC

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This executes the same code which APT:StartApplication also uses for the input buffers.