APT:ReceiveCaptureBufferInfo

From 3dbrew
Revision as of 07:20, 22 November 2015 by Steveice10 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.