Vertically center screen on Wii U

This commit is contained in:
Clownacy 2020-04-15 22:10:40 +01:00
parent a983417771
commit 763e4a9986

View file

@ -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)
{ {