Difference between revisions of "GSPGPU:SetBufferSwap"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00050200] |- | 1 | Screen ID: 0=main, 1=sub |- | 2 | Active framebuffer: 0=first...")
(No difference)

Revision as of 18:05, 4 February 2013

Request

Index Word Description
0 Header code [0x00050200]
1 Screen ID: 0=main, 1=sub
2 Active framebuffer: 0=first, 1=second
3 Framebuffer virtual address, for the main screen this is the 3D left framebuffer
4 For the main screen: 3D right framebuffer address
5 Value for 0x1EF00X90, controls framebuffer width
6 ?
7 Value for 0x1EF00X78, controls which framebuffer is displayed

Response

Index Word Description
0 Header code
1 Result code

Description

This sets GSP state for the LCD framebuffers, and other state as well. When the value of LCD register 0x1EF00X54 is >0x54, the GSP state for the specified screenID is immediately written to the LCD registers.