aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 15567a08e3..7f5ae82a99 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -245,6 +245,11 @@ reg_t kGraph(EngineState *s, int argc, reg_t *argv) {
}
switch (argv[0].toSint16()) {
+ case 1:
+ // Happens in GK1CD, right when it starts
+ warning("Unsupported kGraph() operation %04x", argv[0].toSint16());
+ return s->r_acc;
+
case K_GRAPH_GET_COLORS_NR:
if (g_sci->getResMan()->isAmiga32color())
return make_reg(0, 32);