From 975843c758d2369308927f98af576bfa35d0726a Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Mon, 17 Mar 2003 13:35:34 +0000 Subject: moved handle events from update into main loop svn-id: r6825 --- scumm/smush/smush_player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index ce98d9d089..c203fd82f2 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -876,7 +876,7 @@ void SmushPlayer::updateScreen() { int width = MIN(_width, _scumm->_realWidth); int height = MIN(_height, _scumm->_realHeight); - _scumm->parseEvents(); +// _scumm->parseEvents(); _scumm->_system->copy_rect(_data, _width, 0, 0, width, height); _scumm->_system->update_screen(); } @@ -887,7 +887,7 @@ void SmushPlayer::play(const char *filename, const char *directory) { while (true) { _scumm->processKbd(); - _scumm->_system->delay_msecs(10); + _scumm->waitForTimer(1); if (_scumm->_videoFinished == true) break; if (_scumm->_saveLoadFlag) -- cgit v1.2.3