mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
Fix compile on MSVC 2012 from Peter Ferrie (nw)
This commit is contained in:
parent
6c4bbaad5e
commit
b83b6a0f33
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user