Previous 199869 Revisions Next

r32574 Tuesday 7th October, 2014 at 06:22:33 UTC by Tafoid
Fix compile on MSVC 2012 from Peter Ferrie (nw)
[src/emu/bus/chanf]rom.c

trunk/src/emu/bus/chanf/rom.c
r32573r32574
171171      m_latch[1] = data;
172172      // all bits but 2,3 come from this write, but they are shuffled
173173      // notice that data is 8bits, so when swapping bit8 & bit9 are always 0!
174      m_addr_latch = (m_addr_latch & 0x0c) | (BITSWAP16(data, 15, 14, 13, 12, 11, 10, 7, 6, 5, 3, 2, 1, 9, 8, 4, 0));
174      m_addr_latch = (m_addr_latch & 0x0c) | (BITSWAP16((UINT16) data, 15, 14, 13, 12, 11, 10, 7, 6, 5, 3, 2, 1, 9, 8, 4, 0));
175175   }
176176}
177177

Previous 199869 Revisions Next


© 1997-2024 The MAME Team