mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
small optimization to pla_device::read() (nw)
This commit is contained in:
parent
9d67f8a684
commit
9871beba3f
@ -160,11 +160,11 @@ UINT32 pla_device::read(UINT32 input)
|
||||
|
||||
for (int i = 0; i < m_terms; ++i)
|
||||
{
|
||||
term term = m_term[i];
|
||||
term* term = &m_term[i];
|
||||
|
||||
if ((term.m_and | inputs) == m_input_mask)
|
||||
if ((term->m_and | inputs) == m_input_mask)
|
||||
{
|
||||
s |= term.m_or;
|
||||
s |= term->m_or;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user