aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kernel_tables.h2
-rw-r--r--engines/sci/engine/kgraphics32.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel_tables.h b/engines/sci/engine/kernel_tables.h
index 46132d3794..6f696c4a69 100644
--- a/engines/sci/engine/kernel_tables.h
+++ b/engines/sci/engine/kernel_tables.h
@@ -306,7 +306,7 @@ static const SciKernelMapSubEntry kPalette_subops[] = {
{ SIG_SCI32, 1, MAP_CALL(PaletteSetFromResource32), "i(i)", NULL },
{ SIG_SCI32, 2, MAP_CALL(PaletteSetFade), "iii", NULL },
{ SIG_SCI32, 3, MAP_CALL(PaletteFindColor32), "iii", NULL },
- { SIG_SCI3, 4, MAP_CALL(PaletteSetGamma), "i", NULL },
+ { SIG_SCI32, 4, MAP_CALL(PaletteSetGamma), "i", NULL },
#endif
SCI_SUBOPENTRY_TERMINATOR
};
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index f6aeeb7f9e..07a63c73d9 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -935,8 +935,8 @@ reg_t kPaletteFindColor32(EngineState *s, int argc, reg_t *argv) {
}
/*
- * Used in SCI3. SCI3 contains 6 gamma look-up tables, with the first
- * table (gamma = 0) being the default one.
+ * Used starting in Shivers 1. SCI3 contains 6 gamma look-up tables, with the
+ * first table (gamma = 0) being the default one.
*/
reg_t kPaletteSetGamma(EngineState *s, int argc, reg_t *argv) {
const uint8 gamma = argv[0].toUint16();