Round window width.

This commit is contained in:
Brandon Wright 2014-04-01 12:06:21 -05:00
parent 427ef85bd3
commit df8ad8104a
1 changed files with 1 additions and 1 deletions

View File

@ -2030,7 +2030,7 @@ void
Snes9xWindow::resize_to_multiple (int factor) Snes9xWindow::resize_to_multiple (int factor)
{ {
int h = (config->overscan ? 239 : 224) * factor; int h = (config->overscan ? 239 : 224) * factor;
int w = h * S9xGetAspect (); int w = h * S9xGetAspect () + 0.5;
resize_viewport (w, h); resize_viewport (w, h);