diff options
author | 2012-08-14 10:33:52 +0000 | |
---|---|---|
committer | 2012-08-14 10:33:52 +0000 | |
commit | 92b868cda0218a16920fc218c0ce54a6be5dbe01 (patch) | |
tree | bc85d06e420ab1ca1ea6e8be8633f707ca672195 /src/emu/addrmap.c | |
parent | 6f8af5deb3422b0a731fae7e2f0566423745f9d9 (diff) |
addrmap: Fix device mapping on big-endian systems [O. Galibert]
Diffstat (limited to 'src/emu/addrmap.c')
-rw-r--r-- | src/emu/addrmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/addrmap.c b/src/emu/addrmap.c index 76a43a84be9..787daf27ab0 100644 --- a/src/emu/addrmap.c +++ b/src/emu/addrmap.c @@ -896,7 +896,7 @@ void address_map::uplift_submaps(running_machine &machine, device_t &device, end // mask consistency has already been checked in // unitmask_is_appropriate, so one bit is enough for (int slot=0; slot < max_slot_count; slot++) - if (global_mask & (1ULL << (slot * entry_bits))) + if (global_mask & (1ULL << ((slot ^ slot_xor_mask) * entry_bits))) slot_offset[slot_count++] = (slot ^ slot_xor_mask) * entry_bits; // Merge in all the map contents in order |