aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-18 00:37:56 +0000
committerFilippos Karapetis2010-06-18 00:37:56 +0000
commit880e07250ea86416c29fde16341429f347dc4d8a (patch)
tree1120e6750149fceed8f7121db6a3aa6d98eefe4b /engines/sci/engine
parent660ae052c88fc2e209dde87595799bff8b2bd09b (diff)
downloadscummvm-rg350-880e07250ea86416c29fde16341429f347dc4d8a.tar.gz
scummvm-rg350-880e07250ea86416c29fde16341429f347dc4d8a.tar.bz2
scummvm-rg350-880e07250ea86416c29fde16341429f347dc4d8a.zip
Added warning about unhandled kGraph subop 1 (GK1CD)
svn-id: r49979
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);