summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/egret.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/egret.cpp')
-rw-r--r--src/mame/machine/egret.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/mame/machine/egret.cpp b/src/mame/machine/egret.cpp
index 7a52caa50b8..2b6834b8cc7 100644
--- a/src/mame/machine/egret.cpp
+++ b/src/mame/machine/egret.cpp
@@ -78,26 +78,16 @@ static ADDRESS_MAP_START( egret_map, AS_PROGRAM, 8, egret_device )
AM_RANGE(0x0f00, 0x1fff) AM_ROM AM_REGION(EGRET_CPU_TAG, 0)
ADDRESS_MAP_END
+
//-------------------------------------------------
-// MACHINE_CONFIG
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( egret )
+MACHINE_CONFIG_MEMBER( egret_device::device_add_mconfig )
MCFG_CPU_ADD(EGRET_CPU_TAG, M68HC05EG, XTAL_32_768kHz*192) // 32.768 kHz input clock, can be PLL'ed to x128 = 4.1 MHz under s/w control
MCFG_CPU_PROGRAM_MAP(egret_map)
MACHINE_CONFIG_END
-
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor egret_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( egret );
-}
-
const tiny_rom_entry *egret_device::device_rom_region() const
{
return ROM_NAME( egret );