From c5c3012634f76a15b30637cc687519cb5989667d Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 11 Jul 2017 02:31:42 +1000 Subject: Cleaned up serial, matrix keyboard and TI-8x link protocol interfaces: * Switched to delegate timers - Frees implementations from having to call timer method - Eliminates risk of ID conflicts with implementations/other interfaces * Moved save state registration to interface post start - Plays nicely with device_missing_dependencies exceptions - Frees implementation from having to call save state registration method - Improves save state support in devices that neglected to call method --- src/devices/bus/isa/sblaster.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/devices/bus/isa/sblaster.cpp') diff --git a/src/devices/bus/isa/sblaster.cpp b/src/devices/bus/isa/sblaster.cpp index 69e10819602..a6c0bcfa438 100644 --- a/src/devices/bus/isa/sblaster.cpp +++ b/src/devices/bus/isa/sblaster.cpp @@ -1568,13 +1568,10 @@ void sb_device::dack_w(int line, uint8_t data) void sb_device::device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr) { -// printf("DMA timer expire\n"); if (tid) - { - device_serial_interface::device_timer(timer, tid, param, ptr); return; - } +// printf("DMA timer expire\n"); uint16_t lsample, rsample; switch (m_dsp.flags) { case 0: // 8-bit unsigned mono -- cgit v1.2.3-70-g09d2