GSPGPU:ImportDisplayCaptureInfo: Difference between revisions
Jump to navigation
Jump to search
m Added return header code |
|||
| Line 16: | Line 16: | ||
|- | |- | ||
| 0 | | 0 | ||
| Header code | | Header code [0x00180240] | ||
|- | |- | ||
| 1 | | 1 | ||
Revision as of 23:15, 25 May 2015
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.