summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/a51xx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/a51xx.cpp')
-rw-r--r--src/mame/drivers/a51xx.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/a51xx.cpp b/src/mame/drivers/a51xx.cpp
index b38b668591f..4719976a8fd 100644
--- a/src/mame/drivers/a51xx.cpp
+++ b/src/mame/drivers/a51xx.cpp
@@ -31,6 +31,8 @@ public:
uint32_t screen_update_a5120(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_a5130(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
+ void a5130(machine_config &config);
+ void a5120(machine_config &config);
};
@@ -112,7 +114,7 @@ static GFXDECODE_START( a51xx )
GFXDECODE_ENTRY( "chargen", 0x0000, a51xx_charlayout, 0, 1 )
GFXDECODE_END
-static MACHINE_CONFIG_START( a5120 )
+MACHINE_CONFIG_START(a51xx_state::a5120)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz)
MCFG_CPU_PROGRAM_MAP(a5120_mem)
@@ -134,7 +136,7 @@ static MACHINE_CONFIG_START( a5120 )
MACHINE_CONFIG_END
-static MACHINE_CONFIG_DERIVED( a5130, a5120 )
+MACHINE_CONFIG_DERIVED(a51xx_state::a5130, a5120)
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(a5130_mem)