mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
machine/z80ctc.cpp: fix channel bus readback on unset timer
* fix x1turbo not detecting YM regression caused by 293fb66d7f
This commit is contained in:
parent
0a0a009953
commit
c33ec6922f
@ -368,7 +368,11 @@ u8 z80ctc_channel_device::read()
|
||||
if(!m_timer->remaining().is_never())
|
||||
return u8((m_timer->remaining().as_double() / period.as_double()) + 1.0);
|
||||
else
|
||||
return 0;
|
||||
{
|
||||
// value read-back is required by x1turbo for YM internal board detection.
|
||||
// cfr. x1turbo40 argus wpiset 0x704,1,rw
|
||||
return m_down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user