Vertically center screen on Wii U
This commit is contained in:
parent
a983417771
commit
763e4a9986
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ void WindowBackend_Software_Display(void)
|
||||||
out_pointer += drc_buffer_size / 2;
|
out_pointer += drc_buffer_size / 2;
|
||||||
|
|
||||||
out_pointer += ((854 - framebuffer_width) * 4) / 2;
|
out_pointer += ((854 - framebuffer_width) * 4) / 2;
|
||||||
|
out_pointer += ((480 - framebuffer_height) * line_size) / 2;
|
||||||
|
|
||||||
for (size_t x = 0; x < framebuffer_width; ++x)
|
for (size_t x = 0; x < framebuffer_width; ++x)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue