diff options
author | Eugene Sandulenko | 2011-08-05 10:15:20 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-06 11:28:35 +0100 |
commit | 78f1ea769060cd631c210fc01020bb921afe3607 (patch) | |
tree | 3d12aedc45efe68e6e5d81ee24d90c428bfc186c /audio | |
parent | e72c2fae8896b14553f2e2246726b2e426f0e9bb (diff) | |
download | scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.tar.gz scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.tar.bz2 scummvm-rg350-78f1ea769060cd631c210fc01020bb921afe3607.zip |
OSYSTEM: extended installTimerProc() with timer ID parameter
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpu401.cpp | 2 | ||||
-rw-r--r-- | audio/softsynth/mt32.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/mpu401.cpp b/audio/mpu401.cpp index 966e367a93..103a3501db 100644 --- a/audio/mpu401.cpp +++ b/audio/mpu401.cpp @@ -146,6 +146,6 @@ void MidiDriver_MPU401::setTimerCallback(void *timer_param, Common::TimerManager g_system->getTimerManager()->removeTimerProc(_timer_proc); _timer_proc = timer_proc; if (timer_proc) - g_system->getTimerManager()->installTimerProc(timer_proc, 10000, timer_param); + g_system->getTimerManager()->installTimerProc(timer_proc, 10000, timer_param, "MPU401"); } } diff --git a/audio/softsynth/mt32.cpp b/audio/softsynth/mt32.cpp index 6703a6f7b7..eabde21296 100644 --- a/audio/softsynth/mt32.cpp +++ b/audio/softsynth/mt32.cpp @@ -486,7 +486,7 @@ void MidiDriver_ThreadedMT32::setTimerCallback(void *timer_param, TimerManager:: _vm->_timer->removeTimerProc(_timer_proc); _timer_proc = timer_proc; if (timer_proc) - _vm->_timer->installTimerProc(timer_proc, getBaseTempo(), timer_param); + _vm->_timer->installTimerProc(timer_proc, getBaseTempo(), timer_param, "MT32tempo"); } } |