- fixed bad aspect ratio calculation in DStatusBarCore::SetScale

This commit is contained in:
Christoph Oelckers 2022-01-10 00:19:39 +01:00
parent 3c54495c58
commit 2377b17106

View file

@ -352,7 +352,7 @@ void DStatusBarCore::SetScale()
int horz = HorizontalResolution;
int vert = VerticalResolution;
double refaspect = horz / double(vert);
double screenaspect = w / double(h);
double screenaspect = ActiveRatio(w, h);
if ((horz == 320 && vert == 200) || (horz == 640 && vert == 400))
{