summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/panicr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/panicr.cpp')
-rw-r--r--src/mame/drivers/panicr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/panicr.cpp b/src/mame/drivers/panicr.cpp
index 0ef131300ac..9cf24043cba 100644
--- a/src/mame/drivers/panicr.cpp
+++ b/src/mame/drivers/panicr.cpp
@@ -124,6 +124,7 @@ public:
void draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect );
TIMER_DEVICE_CALLBACK_MEMBER(scanline);
+ void panicr(machine_config &config);
};
@@ -606,7 +607,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(panicr_state::scanline)
m_maincpu->set_input_line_and_vector(0, HOLD_LINE, 0xc8/4);
}
-static MACHINE_CONFIG_START( panicr )
+MACHINE_CONFIG_START(panicr_state::panicr)
MCFG_CPU_ADD("maincpu", V20,MASTER_CLOCK/2) /* Sony 8623h9 CXQ70116D-8 (V20 compatible) */
MCFG_CPU_PROGRAM_MAP(panicr_map)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", panicr_state, scanline, "screen", 0, 1)