aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics')
-rw-r--r--backends/graphics/psp2sdl/psp2sdl-graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/psp2sdl/psp2sdl-graphics.cpp b/backends/graphics/psp2sdl/psp2sdl-graphics.cpp
index 1947f8f751..222cf0c6ef 100644
--- a/backends/graphics/psp2sdl/psp2sdl-graphics.cpp
+++ b/backends/graphics/psp2sdl/psp2sdl-graphics.cpp
@@ -264,7 +264,7 @@ void PSP2SdlGraphicsManager::SDL_UpdateRects(SDL_Surface *screen, int numrects,
float sx, sy;
float ratio = (float)screenW / (float)screenH;
- if (aspectRatioCorrection) {
+ if (aspectRatioCorrection && (screenH == 200 || screenH == 400)) {
ratio = 4.0 / 3.0;
}
@@ -281,7 +281,7 @@ void PSP2SdlGraphicsManager::SDL_UpdateRects(SDL_Surface *screen, int numrects,
h = screenH;
w = screenW;
}
- if (aspectRatioCorrection) {
+ if (aspectRatioCorrection && (screenH == 200 || screenH == 400)) {
// stretch the height only if it fits, otherwise make the width smaller
if (((float)w * (1.0 / ratio)) <= (float)dispH) {
h = w * (1.0 / ratio);