aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/graphics.cpp4
-rw-r--r--gui/ThemeNew.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index bf8396ca94..70f6d94c8f 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -1367,7 +1367,7 @@ void OSystem_SDL::blitCursor() {
hH = hH1 = h * _scaleFactor / _cursorTargetScale;
}
- if (_adjustAspectRatio) {
+ if (_adjustAspectRatio && _cursorTargetScale == 1) {
hH = real2Aspect(hH - 1) + 1;
}
@@ -1411,7 +1411,7 @@ void OSystem_SDL::blitCursor() {
_mouseCurState.w, _mouseCurState.h);
#ifndef DISABLE_SCALERS
- if (_adjustAspectRatio)
+ if (_adjustAspectRatio && _cursorTargetScale == 1)
cursorStretch200To240((uint8 *)_mouseSurface->pixels, _mouseSurface->pitch, hW, hH1, 0, 0, 0);
#endif
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 98287312e8..2a1718893e 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -336,7 +336,6 @@ bool ThemeNew::init() {
_initOk = true;
clearAll();
setupFonts();
- setUpCursor();
resetDrawArea();
}