summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bbc/1mhzbus/m5000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bbc/1mhzbus/m5000.cpp')
-rw-r--r--src/devices/bus/bbc/1mhzbus/m5000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/bbc/1mhzbus/m5000.cpp b/src/devices/bus/bbc/1mhzbus/m5000.cpp
index 1844de74a0d..ae3fd948969 100644
--- a/src/devices/bus/bbc/1mhzbus/m5000.cpp
+++ b/src/devices/bus/bbc/1mhzbus/m5000.cpp
@@ -247,7 +247,7 @@ void htmusic_device::device_start()
m_stream = stream_alloc(0, 2, clock() / 128);
// allocate timer
- m_dsp_timer = timer_alloc(0);
+ m_dsp_timer = timer_alloc(FUNC(htmusic_device::dsp_tick), this);
// register for save states
save_item(NAME(m_wave_ram));
@@ -303,7 +303,7 @@ void htmusic_device::device_reset()
#define INVERT(c) (BIT(CTL(c), 4))
#define PAN(c) (CTL(c) & 0x0f)
-void htmusic_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(htmusic_device::dsp_tick)
{
// 4-bit channel select
uint8_t channel = (m_counter >> 3) & 0x0f;