aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush
diff options
context:
space:
mode:
authorMax Horn2003-10-17 16:39:32 +0000
committerMax Horn2003-10-17 16:39:32 +0000
commitad2db089404e99a2750cd059237dc2a8579e045f (patch)
tree1067985d297a609ab32a6b45aee6508f330905ae /scumm/smush
parent96a8d0ec1cb7410d3790c822f2f9d5ce363daeb2 (diff)
downloadscummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.gz
scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.bz2
scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.zip
renamed some Timer methods
svn-id: r10868
Diffstat (limited to 'scumm/smush')
-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 c00c493ce5..087a8100b8 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -260,13 +260,13 @@ void SmushPlayer::init() {
_smixer->_silentMixer = _scumm->_silentDigitalImuse;
_scumm->_smushPlay = true;
_dst = _scumm->virtscr[0].screenPtr + _scumm->virtscr[0].xstart;
- _scumm->_timer->installProcedure(&timerCallback, _speed, _scumm);
+ _scumm->_timer->installTimerProc(&timerCallback, _speed, _scumm);
_alreadyInit = false;
}
void SmushPlayer::deinit() {
- _scumm->_timer->releaseProcedure(&timerCallback);
+ _scumm->_timer->removeTimerProc(&timerCallback);
_scumm->_smushPlay = false;
// In case the timerCallback is active right now, we loop till it finishes.
// Note: even this still leaves a window for race conditions to occur.