From 7c730c7be381a5c178f6b35f3e11cf8166342d24 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Mon, 6 Jul 2020 00:07:40 +1000 Subject: ondra: removed bank2 since it is just fixed ram --- src/mame/drivers/ondra.cpp | 2 +- src/mame/includes/ondra.h | 2 -- src/mame/machine/ondra.cpp | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mame/drivers/ondra.cpp b/src/mame/drivers/ondra.cpp index b97086182c6..947043689ec 100644 --- a/src/mame/drivers/ondra.cpp +++ b/src/mame/drivers/ondra.cpp @@ -35,7 +35,7 @@ ToDo: void ondra_state::mem_map(address_map &map) { map(0x0000, 0x3fff).bankrw("bank1"); - map(0x4000, 0xdfff).bankrw("bank2"); + map(0x4000, 0xdfff).ram(); map(0xe000, 0xffff).bankrw("bank3"); } diff --git a/src/mame/includes/ondra.h b/src/mame/includes/ondra.h index c3ec2d4a9b4..cbd06467788 100644 --- a/src/mame/includes/ondra.h +++ b/src/mame/includes/ondra.h @@ -24,7 +24,6 @@ public: , m_ram(*this, RAM_TAG) , m_rom(*this, "maincpu") , m_bank1(*this, "bank1") - , m_bank2(*this, "bank2") , m_bank3(*this, "bank3") , m_beep(*this, "beeper") , m_io_keyboard(*this, "LINE%u", 0U) @@ -58,7 +57,6 @@ private: required_device m_ram; required_memory_region m_rom; required_memory_bank m_bank1; - required_memory_bank m_bank2; required_memory_bank m_bank3; required_device m_beep; required_ioport_array<10> m_io_keyboard; diff --git a/src/mame/machine/ondra.cpp b/src/mame/machine/ondra.cpp index 75c9875f9a5..a525537b609 100644 --- a/src/mame/machine/ondra.cpp +++ b/src/mame/machine/ondra.cpp @@ -118,7 +118,6 @@ void ondra_state::machine_reset() m_bank_status = 0; m_bank_old = 0xff; update_banks(); - m_bank2->set_base(m_ram->pointer() + 0x4000); } void ondra_state::machine_start() -- cgit v1.2.3