summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/c117.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/c117.cpp')
-rw-r--r--src/mame/machine/c117.cpp15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/mame/machine/c117.cpp b/src/mame/machine/c117.cpp
index 317cb6c6a91..78e6f18ebfc 100644
--- a/src/mame/machine/c117.cpp
+++ b/src/mame/machine/c117.cpp
@@ -26,11 +26,6 @@ two 6809s and as the reset generator for the entire system.
#include "machine/c117.h"
-static MACHINE_CONFIG_START( namco_c117 )
- MCFG_WATCHDOG_ADD("watchdog")
-MACHINE_CONFIG_END
-
-
DEFINE_DEVICE_TYPE(NAMCO_C117, namco_c117_device, "namco_c117", "Namco C117 MMU")
@@ -115,14 +110,12 @@ void namco_c117_device::device_reset()
//-------------------------------------------------
-// device_mconfig_additions - return a pointer to
-// the device's machine fragment
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-machine_config_constructor namco_c117_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( namco_c117 );
-}
+MACHINE_CONFIG_MEMBER( namco_c117_device::device_add_mconfig )
+ MCFG_WATCHDOG_ADD("watchdog")
+MACHINE_CONFIG_END
READ8_MEMBER(namco_c117_device::main_r)