GSPGPU:SetBufferSwap

GSPGPU:SetBufferSwap

Request #

Index WordDescription
0Header code [0x00050200]
1Screen ID (0 = top, 1 = bottom)
2-8Framebuffer info structure

Response #

Index WordDescription
0Header code
1Result code

Description #

This sets GSP state for the LCD framebuffers. When the value of VCount (offset 0x54) is greater than a certain constant, the GSP state for the specified screen is immediately written to the LCD registers. This constant is 0x52 on GSP for 11.16.0-48, though it used to be 0x54.

This command should only be used when directly writing to the framebuffers; when using the GPU the framebuffer info stored in GSP shared memory should be used instead.