diff options
Diffstat (limited to 'engines/sci')
-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); } |