mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
sgi/ctl1.cpp: Fix operator precedence mistake
This commit is contained in:
parent
8b9024f524
commit
479f4b87b8
@ -142,7 +142,7 @@ void sgi_ctl1_device::cpucfg_w(u16 data)
|
||||
|
||||
if ((data & CPUCFG_BAD) && !m_parity && m_memcfg.has_value())
|
||||
{
|
||||
unsigned const ram_size = ((m_memcfg.value() & MEMCFG_MEMSIZE) + 1) * (m_memcfg.value() & MEMCFG_4MRAM) ? 16 : 4;
|
||||
unsigned const ram_size = ((m_memcfg.value() & MEMCFG_MEMSIZE) + 1) * ((m_memcfg.value() & MEMCFG_4MRAM) ? 16 : 4);
|
||||
|
||||
LOGMASKED(LOG_PARITY, "bad parity activated %dM\n", ram_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user