mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
SDL: fix 0.160 aspect ratio regression. [Hans Ostermeyer]
This commit is contained in:
parent
d7325f1893
commit
7f6f8d0b8d
1 changed files with 4 additions and 0 deletions
|
@ -1561,6 +1561,10 @@ osd_dim sdl_window_info::get_min_bounds(int constrain)
|
|||
}
|
||||
}
|
||||
|
||||
// remove extra window stuff
|
||||
minwidth -= wnd_extra_width();
|
||||
minheight -= wnd_extra_height();
|
||||
|
||||
return osd_dim(minwidth, minheight);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue