diff options
author | Martin Kiewitz | 2009-10-20 20:57:08 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-20 20:57:08 +0000 |
commit | f2c69509836ae82b1eb377ffd6b5a71d0dbc5389 (patch) | |
tree | 2376f818f0d8d22eb395a44631be4b243c1b4ca9 /engines | |
parent | 42af771de001b3006ff5885033ae17c22923b4d6 (diff) | |
download | scummvm-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.cpp | 12 |
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); } |