aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-20 20:57:08 +0000
committerMartin Kiewitz2009-10-20 20:57:08 +0000
commitf2c69509836ae82b1eb377ffd6b5a71d0dbc5389 (patch)
tree2376f818f0d8d22eb395a44631be4b243c1b4ca9 /engines
parent42af771de001b3006ff5885033ae17c22923b4d6 (diff)
downloadscummvm-rg350-f2c69509836ae82b1eb377ffd6b5a71d0dbc5389.tar.gz
scummvm-rg350-f2c69509836ae82b1eb377ffd6b5a71d0dbc5389.tar.bz2
scummvm-rg350-f2c69509836ae82b1eb377ffd6b5a71d0dbc5389.zip
SCI: kPalVary - pause
svn-id: r45292
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 7b09bc4a47..002a7ce841 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -655,6 +655,18 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) {
}
break;
}
+ case 6: { // Pause
+ bool pauseState;
+ if (argc == 2) {
+ pauseState = argv[1].isNull() ? false : true;
+ // this call is actually counting states, so calling this 3 times with true will require calling it later
+ // 3 times with false to actually remove pause
+ // forward call to SciGui
+ } else {
+ warning("kPalVary(pause) called with unsupported argc %d", argc);
+ }
+ break;
+ }
default:
warning("kPalVary(%d), not implemented (argc = %d)", operation, argc);
}