mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
upd765: don't enable_transfer after tc
This commit is contained in:
parent
69d02b7bcc
commit
cb1045148e
@ -714,7 +714,7 @@ uint8_t upd765_family_device::fifo_pop(bool internal)
|
||||
if(!fifo_write && !fifo_pos)
|
||||
disable_transfer();
|
||||
int thr = fifocfg & FIF_THR;
|
||||
if(fifo_write && fifo_expected && (fifo_pos <= thr || (fifocfg & FIF_DIS)))
|
||||
if(fifo_write && fifo_expected && (fifo_pos <= thr || (fifocfg & FIF_DIS)) && !tc_done)
|
||||
enable_transfer();
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user