diff options
author | Paweł Kołodziejski | 2003-03-17 13:35:34 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-17 13:35:34 +0000 |
commit | 975843c758d2369308927f98af576bfa35d0726a (patch) | |
tree | 12984c79624708b67bf11a0e2097f6b4f028aecf | |
parent | e4c8f26e6a965b77831611bb18f87b60c8148ca9 (diff) | |
download | scummvm-rg350-975843c758d2369308927f98af576bfa35d0726a.tar.gz scummvm-rg350-975843c758d2369308927f98af576bfa35d0726a.tar.bz2 scummvm-rg350-975843c758d2369308927f98af576bfa35d0726a.zip |
moved handle events from update into main loop
svn-id: r6825
-rw-r--r-- | scumm/smush/smush_player.cpp | 4 |
1 files 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) |