Difference between revisions of "APT:SendCaptureBufferInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00400042] |- | 1 | Size |- | 2 | <nowiki>(Size<<14) | 2</nowiki> |- | 3 | Input ...")
 
m
 
(7 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| <nowiki>(Size<<14) | 2</nowiki>
+
| <nowiki>(Size << 14) | 2</nowiki>
 
|-
 
|-
 
| 3
 
| 3
| Input buffer ptr
+
| void*, [[NS_and_APT_Services#CaptureBufferInfo|CaptureBufferInfo]]
 
|}
 
|}
  

Latest revision as of 08:20, 22 November 2015

Request[edit]

Index Word Description
0 Header code [0x00400042]
1 Size
2 (Size << 14) | 2
3 void*, CaptureBufferInfo

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

The input size is clamped to 0x20-bytes by NS. The input buffer with the clamped size is then copied to a NS state buffer. The size field for this state buffer is also set to this clamped size.