mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
fix window aspect ratio
This commit is contained in:
@ -966,10 +966,10 @@ void ScreenHandler::screenSetupLayout(int w, int h)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (aspectTop == 0)
|
if (aspectTop == 0)
|
||||||
aspectTop = (float) w / h;
|
aspectTop = ((float) w / h) / (4.f / 3.f);
|
||||||
|
|
||||||
if (aspectBot == 0)
|
if (aspectBot == 0)
|
||||||
aspectBot = (float) w / h;
|
aspectBot = ((float) w / h) / (4.f / 3.f);
|
||||||
|
|
||||||
Frontend::SetupScreenLayout(w, h,
|
Frontend::SetupScreenLayout(w, h,
|
||||||
Config::ScreenLayout,
|
Config::ScreenLayout,
|
||||||
|
Reference in New Issue
Block a user