diff options
author | smf- <smf-@users.noreply.github.com> | 2018-02-22 16:01:38 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-02-22 16:03:35 +0000 |
commit | 2d658809a11804fd40adcbd719e17ba658622f42 (patch) | |
tree | 5da38cdd82eb6848f087751f3401c36bcb5fea9e | |
parent | 6561b1c380ffbf663b37e171955647f1aca3f527 (diff) |
djmain Fixes All sets in djmain.c: MAME exception MT#06884, introduced by https://github.com/mamedev/mame/commit/3e40fd3f9b5e09b9979bf8fe4dabbf6af927d7a7 [smf]
-rw-r--r-- | src/mame/drivers/djmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/djmain.cpp b/src/mame/drivers/djmain.cpp index 4fc3ca3c570..a34897f213e 100644 --- a/src/mame/drivers/djmain.cpp +++ b/src/mame/drivers/djmain.cpp @@ -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; |