aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_player.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-06-11 15:25:38 +0000
committerTorbjörn Andersson2005-06-11 15:25:38 +0000
commita2c90de0dbfcf5d859fb3790780e220dbf029be0 (patch)
tree147107082be8fe3a2ac6a43a6bff2812f4713c94 /scumm/smush/smush_player.cpp
parent234b79396a47c1a6de29cd2b6661a8377b2889f7 (diff)
downloadscummvm-rg350-a2c90de0dbfcf5d859fb3790780e220dbf029be0.tar.gz
scummvm-rg350-a2c90de0dbfcf5d859fb3790780e220dbf029be0.tar.bz2
scummvm-rg350-a2c90de0dbfcf5d859fb3790780e220dbf029be0.zip
Cleanup.
svn-id: r18375
Diffstat (limited to 'scumm/smush/smush_player.cpp')
-rw-r--r--scumm/smush/smush_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp
index 379bb5d4f1..376ac78b46 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -284,7 +284,7 @@ void SmushPlayer::init() {
_vm->gdi._numStrips = _vm->virtscr[0].w / 8;
_smixer = new SmushMixer(_vm->_mixer);
- Common::g_timer->installTimerProc(&timerCallback, _speed, this);
+ Common::g_timer->installTimerProc(&timerCallback, 1000000 / _speed, this);
_initDone = true;
}
@@ -961,7 +961,7 @@ void SmushPlayer::handleFrame(Chunk &b) {
#endif
_smixer->handleFrame();
- debugC(DEBUG_SMUSH, "Smush stats: FRME( %03d ), Limit(%d)", end_time - start_time, _speed / 1000);
+ debugC(DEBUG_SMUSH, "Smush stats: FRME( %03d ), Limit(%d)", end_time - start_time, _speed);
_frame++;
}