aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJody Northup2009-06-18 07:31:09 +0000
committerJody Northup2009-06-18 07:31:09 +0000
commit6f2b46964bd3bee3ee12f2c3cd19b62bbb8aa9b6 (patch)
treef7134ada7a77dea28fe52644b87b9f8ddaed1dc4 /gui
parent7123fbdd7095257c9c23102f7d86d2c8cf21cfd0 (diff)
downloadscummvm-rg350-6f2b46964bd3bee3ee12f2c3cd19b62bbb8aa9b6.tar.gz
scummvm-rg350-6f2b46964bd3bee3ee12f2c3cd19b62bbb8aa9b6.tar.bz2
scummvm-rg350-6f2b46964bd3bee3ee12f2c3cd19b62bbb8aa9b6.zip
Fixed error with non-animated 8-bit GUI cursors being drawn incorrectly in debug console of 16-bit games.
svn-id: r41627
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 5ce7c3dc60..d8e368581c 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -449,7 +449,7 @@ void ThemeEngine::enable() {
if (_useCursor) {
#ifdef ENABLE_16BIT
- CursorMan.pushCursorFormat(_system->getScreenFormat());
+ CursorMan.pushCursorFormat(_cursorFormat);
#endif
CursorMan.pushCursorPalette(_cursorPal, 0, _cursorPalSize);
CursorMan.pushCursor(_cursor, _cursorWidth, _cursorHeight, _cursorHotspotX, _cursorHotspotY, 255, _cursorTargetScale);