diff options
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r-- | backends/sdl/sdl-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index 668858c0b4..3e01a59510 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -102,7 +102,10 @@ public: void setCursorPalette(const byte *colors, uint start, uint num); // Disables or enables cursor palette - void disableCursorPalette(bool disable) { _cursorPaletteDisabled = disable; }; + void disableCursorPalette(bool disable) { + _cursorPaletteDisabled = disable; + blitCursor(); + }; // Shaking is used in SCUMM. Set current shake position. void setShakePos(int shake_pos); @@ -304,7 +307,6 @@ protected: int16 _mouseHotspotY; byte _mouseKeyColor; int _cursorTargetScale; - bool _cursorHasOwnPalette; bool _cursorPaletteDisabled; SDL_Surface *_mouseOrigSurface; SDL_Surface *_mouseSurface; |