Skip to content

Commit

Permalink
SCI: Add debug code to automatically skip robot videos
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jun 13, 2012
1 parent 51466ec commit f76c71d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/sci/engine/kvideo.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit f76c71d

Please sign in to comment.