Fix compile on MSVC 2012 from Peter Ferrie (nw)

This commit is contained in:
Scott Stone 2014-10-07 06:22:33 +00:00
parent 6c4bbaad5e
commit b83b6a0f33

View File

@ -171,7 +171,7 @@ void chanf_rom_device::common_write_2102(UINT32 offset, UINT8 data)
m_latch[1] = data;
// all bits but 2,3 come from this write, but they are shuffled
// notice that data is 8bits, so when swapping bit8 & bit9 are always 0!
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));
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));
}
}