summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2020-07-22 19:18:47 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2020-07-22 19:18:47 +1000
commit5cab6ee3e75d978abffc5fa14fb5e4500498b11d (patch)
treea2f4a70abd4fd75c03f24ff76dfda31fdbb19f87
parent158b8e7e7b1566e61f84bfeb95c4dacec11bcdf4 (diff)
viostorm: added needed mirror to fix a gfx issue [dink/fbneo]
-rw-r--r--src/mame/drivers/mystwarr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/drivers/mystwarr.cpp b/src/mame/drivers/mystwarr.cpp
index b1e0dd08da0..b738bc5a9a3 100644
--- a/src/mame/drivers/mystwarr.cpp
+++ b/src/mame/drivers/mystwarr.cpp
@@ -377,9 +377,7 @@ void mystwarr_state::viostorm_map(address_map &map)
map(0x278002, 0x278003).r(FUNC(mystwarr_state::eeprom_r));
map(0x27c000, 0x27c001).nopr(); // watchdog lives here
map(0x27c000, 0x27c001).w(FUNC(mystwarr_state::mmeeprom_w));
- map(0x300000, 0x301fff).rw(m_k056832, FUNC(k056832_device::ram_word_r), FUNC(k056832_device::ram_word_w));
- map(0x302000, 0x303fff).rw(m_k056832, FUNC(k056832_device::ram_word_r), FUNC(k056832_device::ram_word_w)); // tilemap RAM mirror read(essential)
- map(0x304000, 0x3041ff).ram();
+ map(0x300000, 0x301fff).rw(m_k056832, FUNC(k056832_device::ram_word_r), FUNC(k056832_device::ram_word_w)).mirror(0x6000);
map(0x310000, 0x311fff).r(m_k056832, FUNC(k056832_device::mw_rom_word_r));
map(0x330000, 0x331fff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
}