Difference between revisions of "GSPGPU:ImportDisplayCaptureInfo"
Jump to navigation
Jump to search
ChainSwordCS (talk | contribs) m (→Capture info entry: changed link of "Framebuffer format" to be relevant (info was moved away from "LCD" page a while ago)) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | Header code | + | | Header code [0x00180240] |
|- | |- | ||
| 1 | | 1 | ||
Line 38: | Line 38: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | Framebuffer [[ | + | | Framebuffer [[GPU/External_Registers#Framebuffer_format|format]], this u16 is stored in the low u16 for LCD register 0x1EF00X70. |
|- | |- | ||
| 3 | | 3 | ||
Line 58: | Line 58: | ||
=Description= | =Description= | ||
− | This returns the current framebuffer state. | + | This returns the current framebuffer state. The returned framebuffer addresses are for the currently used(first/second) framebuffers. |
Revision as of 02:18, 17 August 2022
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.