mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
tms0970: fix problem with DDIG, should fix comp4 leds (nw)
This commit is contained in:
parent
f7e6797793
commit
8df5b57422
@ -150,7 +150,7 @@ void tms0970_cpu_device::op_setr()
|
||||
{
|
||||
// SETR: set output register
|
||||
// DDIG line is a coincidence between the selected output pla row(s) and segment pla row(s)
|
||||
int ddig = (m_opla->read(m_a) & m_o) ? 1 : 0;
|
||||
int ddig = (~m_opla->read(m_a) & m_o) ? 0 : 1;
|
||||
m_r = (m_r & ~(1 << m_y)) | (ddig << m_y);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user