aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorMax Horn2006-10-22 15:42:29 +0000
committerMax Horn2006-10-22 15:42:29 +0000
commit07f7761479eba5defdcfe0bd300bc438d9245551 (patch)
tree1d5d2ca4852369e9e5502b015926ab3e2ec4429f /sound/softsynth
parentdf24f1ef4ed2b8d0e6c5df6e1bfbbcb2fc86d2a8 (diff)
downloadscummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.tar.gz
scummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.tar.bz2
scummvm-rg350-07f7761479eba5defdcfe0bd300bc438d9245551.zip
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
svn-id: r24443
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/mt32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index 70ce6bcf8b..422231828d 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -424,10 +424,10 @@ void MidiDriver_ThreadedMT32::close() {
void MidiDriver_ThreadedMT32::setTimerCallback(void *timer_param, TimerManager::TimerProc timer_proc) {
if (!_timer_proc || !timer_proc) {
if (_timer_proc)
- g_timer->removeTimerProc(_timer_proc);
+ _vm->_timer->removeTimerProc(_timer_proc);
_timer_proc = timer_proc;
if (timer_proc)
- g_timer->installTimerProc(timer_proc, getBaseTempo(), timer_param);
+ _vm->_timer->installTimerProc(timer_proc, getBaseTempo(), timer_param);
}
}