aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2008-12-25 20:53:59 +0000
committerMax Horn2008-12-25 20:53:59 +0000
commit6837416556cb84b0f84a1bc231be8d4d59e835bb (patch)
tree26f03a6d3ca2ce36358a2d3cb2a2aae13478405b /engines/scumm/sound.cpp
parentdf20d264fd300a26b15f46dfdfc2d9aa94810d5f (diff)
downloadscummvm-rg350-6837416556cb84b0f84a1bc231be8d4d59e835bb.tar.gz
scummvm-rg350-6837416556cb84b0f84a1bc231be8d4d59e835bb.tar.bz2
scummvm-rg350-6837416556cb84b0f84a1bc231be8d4d59e835bb.zip
Made Engine::_timer protected
svn-id: r35543
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r--engines/scumm/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 7500b16c87..2807b086d3 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -1054,12 +1054,12 @@ void Sound::startCDTimer() {
// it too high, and there will be a nasty "hiccup" just as Chaos
// appears.
- _vm->_timer->removeTimerProc(&cd_timer_handler);
- _vm->_timer->installTimerProc(&cd_timer_handler, 100700, _vm);
+ _vm->getTimerManager()->removeTimerProc(&cd_timer_handler);
+ _vm->getTimerManager()->installTimerProc(&cd_timer_handler, 100700, _vm);
}
void Sound::stopCDTimer() {
- _vm->_timer->removeTimerProc(&cd_timer_handler);
+ _vm->getTimerManager()->removeTimerProc(&cd_timer_handler);
}
void Sound::playCDTrack(int track, int numLoops, int startFrame, int duration) {