diff options
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index b3e5a0cd65..7061f4a036 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1407,7 +1407,10 @@ void OSystem_SDL::blitCursor() { _mouseCurState.vHotY = _mouseCurState.hotY; } +#ifndef DISABLE_SCALERS int rH1 = rH; // store original to pass to aspect-correction function later +#endif + if (_adjustAspectRatio && _cursorTargetScale == 1) { rH = real2Aspect(rH - 1) + 1; _mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY); |