mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 23:49:40 +00:00
Fixed warning when DISABLE_SCALERS is defined.
svn-id: r30074
This commit is contained in:
parent
6a81b7d472
commit
32e2f9e8f3
@ -1407,7 +1407,10 @@ void OSystem_SDL::blitCursor() {
|
|||||||
_mouseCurState.vHotY = _mouseCurState.hotY;
|
_mouseCurState.vHotY = _mouseCurState.hotY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef DISABLE_SCALERS
|
||||||
int rH1 = rH; // store original to pass to aspect-correction function later
|
int rH1 = rH; // store original to pass to aspect-correction function later
|
||||||
|
#endif
|
||||||
|
|
||||||
if (_adjustAspectRatio && _cursorTargetScale == 1) {
|
if (_adjustAspectRatio && _cursorTargetScale == 1) {
|
||||||
rH = real2Aspect(rH - 1) + 1;
|
rH = real2Aspect(rH - 1) + 1;
|
||||||
_mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY);
|
_mouseCurState.rHotY = real2Aspect(_mouseCurState.rHotY);
|
||||||
|
Loading…
Reference in New Issue
Block a user