summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/sblaster.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-07-11 02:31:42 +1000
committer Vas Crabb <vas@vastheman.com>2017-07-11 02:31:42 +1000
commitc5c3012634f76a15b30637cc687519cb5989667d (patch)
treeca0b98d7a40cbe4c93eb2c8f6f082ad7c242d42f /src/devices/bus/isa/sblaster.cpp
parent7d980227979c30aac9eb527f15c5b893aebea5c6 (diff)
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
Diffstat (limited to 'src/devices/bus/isa/sblaster.cpp')
-rw-r--r--src/devices/bus/isa/sblaster.cpp5
1 files changed, 1 insertions, 4 deletions
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