this should fix compile on 32bit (nw)

This commit is contained in:
Miodrag Milanovic 2013-06-09 10:48:40 +00:00
parent fa4cca37ba
commit 064ef292ef

View File

@ -490,7 +490,7 @@ void sns_sa1_device::write_regs(UINT32 offset, UINT8 data)
case 2: //sigma (accumulative multiplication)
case 3:
UINT64 acum = (INT16)m_math_a * (INT16)m_math_b;
UINT64 mask = (UINT64)0xffffffffff;
UINT64 mask = U64(0xffffffffff);
m_math_res += acum;
m_math_overflow = (m_math_res > mask) ? 0x80 : 0;
m_math_res &= mask;