Difference between revisions of "GSPGPU:ImportDisplayCaptureInfo"
Jump to navigation
Jump to search
(Fixed links) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | Header code | + | | Header code [0x00180240] |
|- | |- | ||
| 1 | | 1 | ||
| Result code | | Result code | ||
|- | |- | ||
− | | 2-9 | + | | 2-5 |
− | | | + | | Capture info for the top screen |
+ | |- | ||
+ | | 6-9 | ||
+ | | Capture info for the bottom screen | ||
|} | |} | ||
− | =Capture info | + | =Capture info= |
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 32: | Line 35: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | | + | | Left framebuffer VA |
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | Right framebuffer VA (top screen only) |
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | [[GPU/External_Registers#Framebuffer_format|Format]] |
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | [[GPU/External_Registers#LCD_Source_Framebuffer_Setup|Stride]] (offset 0x90) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
=Description= | =Description= | ||
− | This returns the current framebuffer state. The returned framebuffer addresses are for the currently | + | This returns the current framebuffer state. The returned framebuffer addresses are for the currently active framebuffers. |
Latest revision as of 21:54, 13 October 2023
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 currently active framebuffers.