GSPGPU:ImportDisplayCaptureInfo

Revision as of 02:18, 17 August 2022 by ChainSwordCS (talk | contribs) (→‎Capture info entry: changed link of "Framebuffer format" to be relevant (info was moved away from "LCD" page a while ago))

Request

Index Word Description
0 Header code [0x00180000]

Response

Index Word Description
0 Header code [0x00180240]
1 Result code
2-9 Output 0x20-byte capture info structure.

Capture info entry

Index Word Description
0 Framebuffer process virtual address, for the main screen this is the 3D left framebuffer
1 For the main screen: 3D right framebuffer process vaddr
2 Framebuffer format, this u16 is stored in the low u16 for LCD register 0x1EF00X70.
3 Value for 0x1EF00X90, controls framebuffer width

Capture info structure

Index Word Description
0-3 Capture info entry for the main screen.
4-7 Capture info entry for the sub screen.

Description

This returns the current framebuffer state. The returned framebuffer addresses are for the currently used(first/second) framebuffers.