diff options
author | Max Horn | 2003-10-17 16:39:32 +0000 |
---|---|---|
committer | Max Horn | 2003-10-17 16:39:32 +0000 |
commit | ad2db089404e99a2750cd059237dc2a8579e045f (patch) | |
tree | 1067985d297a609ab32a6b45aee6508f330905ae /sound/mpu401.cpp | |
parent | 96a8d0ec1cb7410d3790c822f2f9d5ce363daeb2 (diff) | |
download | scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.gz scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.tar.bz2 scummvm-rg350-ad2db089404e99a2750cd059237dc2a8579e045f.zip |
renamed some Timer methods
svn-id: r10868
Diffstat (limited to 'sound/mpu401.cpp')
-rw-r--r-- | sound/mpu401.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp index 0f25d600b7..7239e83727 100644 --- a/sound/mpu401.cpp +++ b/sound/mpu401.cpp @@ -93,7 +93,7 @@ MidiDriver_MPU401::MidiDriver_MPU401() : void MidiDriver_MPU401::close() { if (_timer_proc) - g_timer->releaseProcedure(_timer_proc); + g_timer->removeTimerProc(_timer_proc); _timer_proc = 0; for (int i = 0; i < 16; ++i) send (0x7B << 8 | 0xB0 | i); @@ -128,9 +128,9 @@ MidiChannel *MidiDriver_MPU401::allocateChannel() { void MidiDriver_MPU401::setTimerCallback(void *timer_param, TimerProc timer_proc) { if (!_timer_proc || !timer_proc) { if (_timer_proc) - g_timer->releaseProcedure(_timer_proc); + g_timer->removeTimerProc(_timer_proc); _timer_proc = timer_proc; if (timer_proc) - g_timer->installProcedure(timer_proc, 10000, timer_param); + g_timer->installTimerProc(timer_proc, 10000, timer_param); } } |