fix window aspect ratio

This commit is contained in:
RSDuck 2023-01-17 20:00:21 +01:00
parent 8ec8a6ce09
commit d83172e595
1 changed files with 2 additions and 2 deletions

View File

@ -966,10 +966,10 @@ void ScreenHandler::screenSetupLayout(int w, int h)
}
if (aspectTop == 0)
aspectTop = (float) w / h;
aspectTop = ((float) w / h) / (4.f / 3.f);
if (aspectBot == 0)
aspectBot = (float) w / h;
aspectBot = ((float) w / h) / (4.f / 3.f);
Frontend::SetupScreenLayout(w, h,
Config::ScreenLayout,