APT:SendCaptureBufferInfo: Difference between revisions

Line 51: Line 51:
|-
|-
| 4
| 4
| Main-screen [[LCD|0x1EF00X70]] value.
| Low 3-bits of main-screen [[LCD|0x1EF00X70]] value(color format).
|-
|-
| 5
| 5
Line 60: Line 60:
|-
|-
| 7
| 7
| Sub-screen [[LCD|0x1EF00X70]] value.
| Low 3-bits of sub-screen [[LCD|0x1EF00X70]] value(color format).
|}
|}


The user process initializes this structure using data from [[GSPGPU:ImportDisplayCaptureInfo]]. The pixel bytesize is determined by the [[LCD|0x1EF00X70]] color format for that screen. When the color-format is RGBA, the pixel bytesize used is value 3.
The user process initializes this structure using data from [[GSPGPU:ImportDisplayCaptureInfo]]. The pixel bytesize is determined by the color format for that screen. When the color-format is RGBA, the pixel bytesize used is value 3.


=Description=
=Description=
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.
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.