mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-26 17:54:46 +01:00
Missed else/if for scaling.
This commit is contained in:
parent
6184e89e81
commit
4c67820012
@ -92,7 +92,7 @@ float ViewInfo::GetHeight() const
|
||||
{
|
||||
height = MaxHeight;
|
||||
}
|
||||
if(width > MaxWidth && height <= MaxHeight)
|
||||
else if(width > MaxWidth && height <= MaxHeight)
|
||||
{
|
||||
height = scaleW * height;
|
||||
}
|
||||
@ -137,7 +137,7 @@ float ViewInfo::GetWidth() const
|
||||
{
|
||||
width = MaxWidth;
|
||||
}
|
||||
if(height > MaxHeight && width <= MaxWidth)
|
||||
else if(height > MaxHeight && width <= MaxWidth)
|
||||
{
|
||||
width = scaleH * width;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user