mirror of
https://github.com/holub/mame
synced 2025-05-10 16:21:42 +03:00
wrong memmask mask
This commit is contained in:
parent
e3e6f6143a
commit
9b659f5b58
@ -235,13 +235,13 @@ WRITE32_MEMBER(polygonet_state::shared_ram_write)
|
||||
}
|
||||
|
||||
/* write to the current dsp56k word */
|
||||
if (mem_mask | (0xffff0000))
|
||||
if (mem_mask & 0xffff0000)
|
||||
{
|
||||
m_dsp56k_shared_ram_16[(offset<<1)] = (m_shared_ram[offset] & 0xffff0000) >> 16 ;
|
||||
}
|
||||
|
||||
/* write to the next dsp56k word */
|
||||
if (mem_mask | (0x0000ffff))
|
||||
if (mem_mask & 0x0000ffff)
|
||||
{
|
||||
m_dsp56k_shared_ram_16[(offset<<1)+1] = (m_shared_ram[offset] & 0x0000ffff) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user