small optimization to pla_device::read() (nw)

This commit is contained in:
Oliver Stöneberg 2014-09-10 12:47:01 +00:00
parent 9d67f8a684
commit 9871beba3f

View File

@ -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;
}
}