summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/witch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/witch.cpp')
-rw-r--r--src/mame/drivers/witch.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/witch.cpp b/src/mame/drivers/witch.cpp
index fc989d249dd..e0b4bfd7a03 100644
--- a/src/mame/drivers/witch.cpp
+++ b/src/mame/drivers/witch.cpp
@@ -301,6 +301,7 @@ public:
uint32_t screen_update_witch(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
virtual void machine_reset() override;
+ void witch(machine_config &config);
};
@@ -767,7 +768,7 @@ void witch_state::machine_reset()
m_motor_active = (ioport("YM_PortB")->read() & 0x08) ? 0 : 1;
}
-static MACHINE_CONFIG_START( witch )
+MACHINE_CONFIG_START(witch_state::witch)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK) /* 3 MHz */
MCFG_CPU_PROGRAM_MAP(map_main)