aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-20 12:35:59 +0300
committerFilippos Karapetis2012-06-20 12:35:59 +0300
commitbd3366c2086e32a569eb15522e0c42dee90d50fb (patch)
treedc26ba12fdcee811b9cdc3a922f6a01d924fed96
parentc27741ac3bb356eecb6b3f9abd1e74cb981ffbed (diff)
downloadscummvm-rg350-bd3366c2086e32a569eb15522e0c42dee90d50fb.tar.gz
scummvm-rg350-bd3366c2086e32a569eb15522e0c42dee90d50fb.tar.bz2
scummvm-rg350-bd3366c2086e32a569eb15522e0c42dee90d50fb.zip
SCI: Add a warning for kRemapColors(RemapByPercent)
-rw-r--r--engines/sci/engine/kgraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 459766c0a1..59dba994b5 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1237,6 +1237,7 @@ reg_t kRemapColors(EngineState *s, int argc, reg_t *argv) {
uint16 percent = argv[2].toUint16(); // 0 - 100
if (argc >= 4)
warning("RemapByPercent called with 4 parameters, unknown parameter is %d", argv[3].toUint16());
+ warning("kRemapColors: RemapByPercent color %d by %d percent", color, percent);
// TODO: It's not correct to set intensity here
//g_sci->_gfxPalette->kernelSetIntensity(color, 255, percent, false);
}