mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
Account for the screen gap being scaled with the window size
Fixes #1430
This commit is contained in:
parent
86786738cc
commit
37e5e2c3c0
@ -828,7 +828,7 @@ void ScreenHandler::screenSetupLayout(int w, int h)
|
||||
QSize ScreenHandler::screenGetMinSize(int factor = 1)
|
||||
{
|
||||
bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3);
|
||||
int gap = Config::ScreenGap;
|
||||
int gap = Config::ScreenGap * factor;
|
||||
|
||||
int w = 256 * factor;
|
||||
int h = 192 * factor;
|
||||
|
Loading…
Reference in New Issue
Block a user