diff --git a/RetroFE/Source/Graphics/ViewInfo.cpp b/RetroFE/Source/Graphics/ViewInfo.cpp index 9dffaff..282fda5 100644 --- a/RetroFE/Source/Graphics/ViewInfo.cpp +++ b/RetroFE/Source/Graphics/ViewInfo.cpp @@ -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; }