GSPGPU:ImportDisplayCaptureInfo

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x00180000]

Response[edit]

Index Word Description
0 Header code [0x00180240]
1 Result code
2-5 Capture info for the top screen
6-9 Capture info for the bottom screen

Capture info[edit]

Index Word Description
0 Left framebuffer VA
1 Right framebuffer VA (top screen only)
2 Format
3 Stride (offset 0x90)

Description[edit]

This returns the current framebuffer state. The returned framebuffer addresses are for the new framebuffers (the ones that will be displayed next frame, after VBlank) for the process with GPU rights.