Difference between revisions of "APT:GetCaptureInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x004A0040] |- | 1 | Size |} =Response= {| class="wikitable" border="1" |- ! Ind...")
 
m
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
| 1
 
| 1
 
| Size
 
| Size
 +
|}
 +
 +
The following is located 0x100-bytes after the beginning of the above command buffer:
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Index Word
 +
!  Description
 +
|-
 +
| 0
 +
| <nowiki>(Size << 14) | 2</nowiki>
 +
|-
 +
| 1
 +
| void*, [[NS_and_APT_Services#CaptureBufferInfo|CaptureBufferInfo]]
 
|}
 
|}
  
Line 23: Line 36:
 
| 1
 
| 1
 
| Result code
 
| Result code
|-
 
| 2
 
| <nowiki>(Size<<14) | 2</nowiki>
 
|-
 
| 3
 
| Output buffer ptr
 
 
|}
 
|}
  
 
=Description=
 
=Description=
 
This command loads the data set by [[APT:SendCaptureBufferInfo]], this command is similar to [[APT:ReceiveCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS. The NS state [[APT:SendCaptureBufferInfo|buffer]] data is then copied to the output buffer.
 
This command loads the data set by [[APT:SendCaptureBufferInfo]], this command is similar to [[APT:ReceiveCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS. The NS state [[APT:SendCaptureBufferInfo|buffer]] data is then copied to the output buffer.

Latest revision as of 07:21, 22 November 2015

Request[edit]

Index Word Description
0 Header code [0x004A0040]
1 Size

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (Size << 14) | 2
1 void*, CaptureBufferInfo

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This command loads the data set by APT:SendCaptureBufferInfo, this command is similar to APT:ReceiveCaptureBufferInfo. The input size is clamped to 0x20-bytes by NS. The NS state buffer data is then copied to the output buffer.