aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-13 03:48:39 +0300
committerFilippos Karapetis2012-06-13 12:26:48 +0300
commitf76c71d9682e193af3c852e27c3923950137445d (patch)
tree7ca5fb992176efca80ab5b5dd70c17432cbed52f /engines/sci
parent51466ecfbb8158792931c27ff00c3bf937adfd40 (diff)
downloadscummvm-rg350-f76c71d9682e193af3c852e27c3923950137445d.tar.gz
scummvm-rg350-f76c71d9682e193af3c852e27c3923950137445d.tar.bz2
scummvm-rg350-f76c71d9682e193af3c852e27c3923950137445d.zip
SCI: Add debug code to automatically skip robot videos
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kvideo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kvideo.cpp b/engines/sci/engine/kvideo.cpp
index c9cf652013..f176a13721 100644
--- a/engines/sci/engine/kvideo.cpp
+++ b/engines/sci/engine/kvideo.cpp
@@ -259,6 +259,7 @@ reg_t kRobot(EngineState *s, int argc, reg_t *argv) {
warning("kRobot(%d)", subop);
break;
case 8: // sync
+ //if (false) { // debug: automatically skip all robot videos
if ((uint32)g_sci->_robotDecoder->getCurFrame() != g_sci->_robotDecoder->getFrameCount() - 1) {
writeSelector(s->_segMan, argv[1], SELECTOR(signal), NULL_REG);
} else {