Duh! (nwn)

This commit is contained in:
Olivier Galibert 2011-06-12 21:14:45 +00:00
parent 525c0431e2
commit 58e656ed66

View File

@ -3309,7 +3309,7 @@ void address_table::setup_range(offs_t addrstart, offs_t addrend, offs_t addrmas
// Careful, you can't shift by 64 or more
UINT64 testmask = (1ULL << (m_space.data_width()-1) << 1) - 1;
if((mask & testmask) == 0 || (mask & testmask) == mask)
if((mask & testmask) == 0 || (mask & testmask) == testmask)
setup_range_solid(addrstart, addrend, addrmask, addrmirror, entries);
else
setup_range_masked(addrstart, addrend, addrmask, addrmirror, mask, entries);