diff options
author | 2008-02-06 15:33:04 +0000 | |
---|---|---|
committer | 2008-02-06 15:33:04 +0000 | |
commit | abdb58671bca0ec733bff6d670efdf8567863734 (patch) | |
tree | 712c867aeb8179f0a02b4f2e09cb7c4dc1f6905c /src/emu/machine/z80dma.c | |
parent | e18344a0e78149e3a9046e5b0ffc14da3de93b2c (diff) |
Split timer_adjust() into timer_adjust_oneshot() and timer_adjust_periodic().
Updated all call sites.
Fixed recent build breaks.
Diffstat (limited to 'src/emu/machine/z80dma.c')
-rw-r--r-- | src/emu/machine/z80dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/z80dma.c b/src/emu/machine/z80dma.c index c081294ef49..3b2acde1c61 100644 --- a/src/emu/machine/z80dma.c +++ b/src/emu/machine/z80dma.c @@ -297,7 +297,7 @@ static void z80dma_update_status(int which) dma[which].is_read = 1; dma[which].cur_cycle = (PORTA_IS_SOURCE(cntx) ? PORTA_CYCLE_LEN(cntx) : PORTB_CYCLE_LEN(cntx)); next = ATTOTIME_IN_HZ(dma[which].intf->clockhz); - timer_adjust(dma[which].timer, + timer_adjust_periodic(dma[which].timer, attotime_zero, which, /* 1 byte transferred in 4 clock cycles */ |