mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 15:30:14 +00:00
cleanup
This commit is contained in:
parent
3be6948ca4
commit
6ab731648b
@ -117,8 +117,7 @@ EmuWindow::FramebufferLayout EmuWindow::FramebufferLayout::DefaultScreenLayout(u
|
|||||||
res.bottom_screen.right = res.bottom_screen.left + bottom_width;
|
res.bottom_screen.right = res.bottom_screen.left + bottom_width;
|
||||||
res.bottom_screen.top = res.top_screen.bottom;
|
res.bottom_screen.top = res.top_screen.bottom;
|
||||||
res.bottom_screen.bottom = res.bottom_screen.top + viewport_height / 2;
|
res.bottom_screen.bottom = res.bottom_screen.top + viewport_height / 2;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// Otherwise, apply borders to the left and right sides of the window.
|
// Otherwise, apply borders to the left and right sides of the window.
|
||||||
int viewport_width = static_cast<int>(std::round(height / emulation_aspect_ratio));
|
int viewport_width = static_cast<int>(std::round(height / emulation_aspect_ratio));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user