mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
this should fix compile on 32bit (nw)
This commit is contained in:
parent
fa4cca37ba
commit
064ef292ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user