mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
z80dma: correct end of block test
This commit is contained in:
parent
f0eab2717c
commit
9bebc8adf6
@ -487,8 +487,7 @@ int z80dma_device::do_write()
|
||||
m_addressB += PORTB_FIXED ? 0 : PORTB_INC ? 1 : -1;
|
||||
|
||||
m_byte_counter++;
|
||||
m_count--;
|
||||
done = (m_count == 0xFFFF); //correct?
|
||||
done = (m_count == m_byte_counter);
|
||||
|
||||
if (done)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user