summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/megaplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/megaplay.cpp')
-rw-r--r--src/mame/drivers/megaplay.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp
index c5879f852f7..4d46cdf26b6 100644
--- a/src/mame/drivers/megaplay.cpp
+++ b/src/mame/drivers/megaplay.cpp
@@ -59,6 +59,9 @@ public:
DECLARE_READ_LINE_MEMBER(start1_r);
DECLARE_READ_LINE_MEMBER(start2_r);
+protected:
+ virtual void machine_reset() override;
+
private:
uint16_t extra_ram_r(offs_t offset);
@@ -81,7 +84,6 @@ private:
uint8_t vdp1_count_r(offs_t offset);
DECLARE_VIDEO_START(megplay);
- DECLARE_MACHINE_RESET(megaplay);
uint32_t screen_update_megplay(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void megaplay_bios_io_map(address_map &map);
@@ -648,12 +650,12 @@ uint32_t mplay_state::screen_update_megplay(screen_device &screen, bitmap_rgb32
return 0;
}
-MACHINE_RESET_MEMBER(mplay_state,megaplay)
+void mplay_state::machine_reset()
{
m_bios_mode = MP_ROM;
m_bios_bank_addr = 0;
m_readpos = 1;
- MACHINE_RESET_CALL_MEMBER(megadriv);
+ md_base_state::machine_reset();
}
void mplay_state::megaplay(machine_config &config)