summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/v6809.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/v6809.cpp')
-rw-r--r--src/mame/drivers/v6809.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/v6809.cpp b/src/mame/drivers/v6809.cpp
index 96b80f7414f..304514441f6 100644
--- a/src/mame/drivers/v6809.cpp
+++ b/src/mame/drivers/v6809.cpp
@@ -86,6 +86,8 @@ public:
void v6809(machine_config &config);
private:
+ virtual void machine_reset() override;
+
DECLARE_WRITE_LINE_MEMBER(speaker_en_w);
DECLARE_WRITE_LINE_MEMBER(speaker_w);
DECLARE_READ8_MEMBER(pb_r);
@@ -94,7 +96,6 @@ private:
DECLARE_WRITE8_MEMBER(v6809_address_w);
DECLARE_WRITE8_MEMBER(v6809_register_w);
void kbd_put(u8 data);
- DECLARE_MACHINE_RESET(v6809);
MC6845_UPDATE_ROW(crtc_update_row);
MC6845_ON_UPDATE_ADDR_CHANGED(crtc_update_addr);
@@ -139,7 +140,7 @@ void v6809_state::v6809_mem(address_map &map)
static INPUT_PORTS_START( v6809 )
INPUT_PORTS_END
-MACHINE_RESET_MEMBER( v6809_state, v6809)
+void v6809_state::machine_reset()
{
m_term_data = 0;
m_pia0->cb1_w(1);
@@ -287,7 +288,6 @@ void v6809_state::v6809(machine_config &config)
/* basic machine hardware */
MC6809(config, m_maincpu, 16_MHz_XTAL / 4); // divided by 4 again internally
m_maincpu->set_addrmap(AS_PROGRAM, &v6809_state::v6809_mem);
- MCFG_MACHINE_RESET_OVERRIDE(v6809_state, v6809)
/* video hardware */
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));