mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Account for the screen gap being scaled with the window size
Fixes #1430
This commit is contained in:
@ -828,7 +828,7 @@ void ScreenHandler::screenSetupLayout(int w, int h)
|
|||||||
QSize ScreenHandler::screenGetMinSize(int factor = 1)
|
QSize ScreenHandler::screenGetMinSize(int factor = 1)
|
||||||
{
|
{
|
||||||
bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3);
|
bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3);
|
||||||
int gap = Config::ScreenGap;
|
int gap = Config::ScreenGap * factor;
|
||||||
|
|
||||||
int w = 256 * factor;
|
int w = 256 * factor;
|
||||||
int h = 192 * factor;
|
int h = 192 * factor;
|
||||||
|
Reference in New Issue
Block a user