diff options
Diffstat (limited to 'src/mame/audio/vboy.cpp')
-rw-r--r-- | src/mame/audio/vboy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/vboy.cpp b/src/mame/audio/vboy.cpp index 1b4a32d8185..cbbac32c88a 100644 --- a/src/mame/audio/vboy.cpp +++ b/src/mame/audio/vboy.cpp @@ -211,7 +211,7 @@ void vboysnd_device::device_start() // create the stream m_stream = stream_alloc(0, 2, rate); - m_timer = timer_alloc(0); + m_timer = timer_alloc(FUNC(vboysnd_device::delayed_stream_update), this); m_timer->adjust(attotime::zero, 0, rate ? attotime::from_hz(rate / 4) : attotime::never); for (int i=0; i<2048; i++) @@ -256,10 +256,10 @@ void vboysnd_device::device_reset() } //------------------------------------------------- -// device_timer - called when our device timer expires +// delayed_stream_update //------------------------------------------------- -void vboysnd_device::device_timer(emu_timer &timer, device_timer_id tid, int param) +TIMER_CALLBACK_MEMBER(vboysnd_device::delayed_stream_update) { m_stream->update(); } |