| Previous | 15994 Revisions | Next |
| r15893 Tuesday 14th August, 2012 at 10:35:21 UTC by Olivier Galibert |
|---|
| addrmap: Fix device mapping on big-endian systems [O. Galibert] |
| [src/emu] | addrmap.c |
| r15892 | r15893 | |
|---|---|---|
| 896 | 896 | // mask consistency has already been checked in |
| 897 | 897 | // unitmask_is_appropriate, so one bit is enough |
| 898 | 898 | for (int slot=0; slot < max_slot_count; slot++) |
| 899 | if (global_mask & (1ULL << (slot * entry_bits))) | |
| 899 | if (global_mask & (1ULL << ((slot ^ slot_xor_mask) * entry_bits))) | |
| 900 | 900 | slot_offset[slot_count++] = (slot ^ slot_xor_mask) * entry_bits; |
| 901 | 901 | |
| 902 | 902 | // Merge in all the map contents in order |
| Previous | 15994 Revisions | Next |