djmain Fixes All sets in djmain.c: MAME exception MT#06884, introduced by 3e40fd3f9b [smf]

This commit is contained in:
smf- 2018-02-22 16:01:38 +00:00
parent 6561b1c380
commit 2d658809a1

View File

@ -100,7 +100,7 @@ READ32_MEMBER(djmain_state::sndram_r)
{
uint32_t data = 0;
offset |= 0x80000 * m_sndram_bank;
offset |= 0x20000 * m_sndram_bank;
if (ACCESSING_BITS_24_31)
data |= m_sndram[offset * 4] << 24;
@ -118,7 +118,7 @@ READ32_MEMBER(djmain_state::sndram_r)
WRITE32_MEMBER(djmain_state::sndram_w)
{
offset |= 0x80000 * m_sndram_bank;
offset |= 0x20000 * m_sndram_bank;
if (ACCESSING_BITS_24_31)
m_sndram[offset * 4] = data >> 24;