diff options
author | 2014-10-07 06:22:33 +0000 | |
---|---|---|
committer | 2014-10-07 06:22:33 +0000 | |
commit | b83b6a0f33727dc26c129d0e43ebb6d95f39ba5b (patch) | |
tree | 58bf0db7a800fa81e6598d4d863eb76ed0e89f1b | |
parent | 6c4bbaad5eeb2969cf4d40ca7152fee4b8494cb8 (diff) |
Fix compile on MSVC 2012 from Peter Ferrie (nw)
-rw-r--r-- | src/emu/bus/chanf/rom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/bus/chanf/rom.c b/src/emu/bus/chanf/rom.c index e9add893685..7abac534edb 100644 --- a/src/emu/bus/chanf/rom.c +++ b/src/emu/bus/chanf/rom.c @@ -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)); } } |