Difference between revisions of "APT:ReceiveCaptureBufferInfo"

From 3dbrew
Jump to navigation Jump to search
m
m
 
Line 22: Line 22:
 
|-
 
|-
 
| 1
 
| 1
| void*, Output Buffer
+
| void*, [[NS_and_APT_Services#CaptureBufferInfo|CaptureBufferInfo]]
 
|}
 
|}
  
Line 42: Line 42:
  
 
=Description=
 
=Description=
This command loads the data set by [[APT:SendCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS, then this size is clamped to the size for the NS state [[APT:SendCaptureBufferInfo|buffer]]. The NS state buffer data is copied to the output buffer, (when the clamped size is not zero) then the size field for the state buffer is set 0.
+
This command loads the data set by [[APT:SendCaptureBufferInfo]]. The input size is clamped to 0x20-bytes by NS, then this size is clamped to the size for the NS state buffer. The NS state buffer data is copied to the output buffer, (when the clamped size is not zero) then the size field for the state buffer is set 0.

Latest revision as of 08:20, 22 November 2015

Request[edit]

Index Word Description
0 Header code [0x00410040]
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
2 Actual Size

Description[edit]

This command loads the data set by APT:SendCaptureBufferInfo. The input size is clamped to 0x20-bytes by NS, then this size is clamped to the size for the NS state buffer. The NS state buffer data is copied to the output buffer, (when the clamped size is not zero) then the size field for the state buffer is set 0.