mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
memory: Add missing 32->64 bits conversion when building the invsubmask [Oliver Stöneberg]
This commit is contained in:
parent
54c8c3eef0
commit
6852552362
@ -4398,7 +4398,7 @@ void handler_entry::configure_subunits(UINT64 handlermask, int handlerbits, int
|
||||
// compute the inverse mask
|
||||
m_invsubmask = 0;
|
||||
for (int i = 0; i < m_subunits; i++)
|
||||
m_invsubmask |= m_subunit_infos[i].m_mask << m_subunit_infos[i].m_shift;
|
||||
m_invsubmask |= UINT64(m_subunit_infos[i].m_mask) << m_subunit_infos[i].m_shift;
|
||||
m_invsubmask = ~m_invsubmask;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user