aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-29 20:16:59 +0000
committerJohannes Schickel2009-06-29 20:16:59 +0000
commita12b4e70024530529c596768e0e33c2896e851a3 (patch)
tree5002f1faceefd2157b33bbbf5cc58a6d81f366c3 /engines
parente15502d38157498f3cc8dca0014e3099ff6625c4 (diff)
downloadscummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.tar.gz
scummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.tar.bz2
scummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.zip
Fix LoL cursor in DOS version.
svn-id: r41963
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/screen_lol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp
index 5453ee0e75..b9bf9961c5 100644
--- a/engines/kyra/screen_lol.cpp
+++ b/engines/kyra/screen_lol.cpp
@@ -995,6 +995,9 @@ void Screen_LoL::convertPC98Gfx(uint8 *data, int w, int h, int pitch) {
}
void Screen_LoL::postProcessCursor(uint8 *data, int w, int h, int pitch) {
+ if (!_use16ColorMode)
+ return;
+
while (h--) {
for (int i = 0; i < w; ++i) {
if (*data != _cursorColorKey)