aboutsummaryrefslogtreecommitdiff
path: root/insane.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-12 21:26:59 +0000
committerLudvig Strigeus2002-04-12 21:26:59 +0000
commitd2b0070c5f39661561484f8e2dfd6be271ed21cf (patch)
tree0e751495a08c9514e82879d78a977ad6f27469a7 /insane.cpp
parentb195bb597c32384bf4ce6f9c22ffc281c0828ca4 (diff)
downloadscummvm-rg350-d2b0070c5f39661561484f8e2dfd6be271ed21cf.tar.gz
scummvm-rg350-d2b0070c5f39661561484f8e2dfd6be271ed21cf.tar.bz2
scummvm-rg350-d2b0070c5f39661561484f8e2dfd6be271ed21cf.zip
new video engine (expect broken non-sdl builds),
simon the sorcerer 1 & 2 support (non SCUMM games) svn-id: r3912
Diffstat (limited to 'insane.cpp')
-rw-r--r--insane.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/insane.cpp b/insane.cpp
index e14062a277..a56005f7ee 100644
--- a/insane.cpp
+++ b/insane.cpp
@@ -662,10 +662,13 @@ void SmushPlayer::startVideo(short int arg, byte *videoFile)
}
if (_frameChanged) {
- blitToScreen(sm, sm->_videoBuffer, 0, 0, 320, 200);
- updateScreen(sm);
+ /* FIXME: not properly implemented after switch to new gfx code */
- sm->delta = sm->_system->waitTick(sm->delta);
+ sm->_system->copy_rect(sm->_videoBuffer, 320, 0, 0, 320, 200);
+ sm->_system->update_screen();
+ sm->waitForTimer(20);
+
+ //sm->delta = sm->_system->waitTick(sm->delta);
}
sm->processKbd();