summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/x68k/x68k_neptunex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/x68k/x68k_neptunex.cpp')
-rw-r--r--src/devices/bus/x68k/x68k_neptunex.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/devices/bus/x68k/x68k_neptunex.cpp b/src/devices/bus/x68k/x68k_neptunex.cpp
index 5d0ca87c09a..a1abc7bd394 100644
--- a/src/devices/bus/x68k/x68k_neptunex.cpp
+++ b/src/devices/bus/x68k/x68k_neptunex.cpp
@@ -5,9 +5,10 @@
*/
#include "emu.h"
-#include "machine/dp8390.h"
#include "x68k_neptunex.h"
+#include "machine/dp8390.h"
+
//**************************************************************************
// DEVICE DEFINITIONS
@@ -16,18 +17,13 @@
DEFINE_DEVICE_TYPE(X68K_NEPTUNEX, x68k_neptune_device, "x68k_neptunex", "Neptune-X")
// device machine config
-static MACHINE_CONFIG_START( x68k_neptunex )
+MACHINE_CONFIG_MEMBER( x68k_neptune_device::device_add_mconfig )
MCFG_DEVICE_ADD("dp8390d", DP8390D, 0)
MCFG_DP8390D_IRQ_CB(WRITELINE(x68k_neptune_device, x68k_neptune_irq_w))
MCFG_DP8390D_MEM_READ_CB(READ8(x68k_neptune_device, x68k_neptune_mem_read))
MCFG_DP8390D_MEM_WRITE_CB(WRITE8(x68k_neptune_device, x68k_neptune_mem_write))
MACHINE_CONFIG_END
-machine_config_constructor x68k_neptune_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( x68k_neptunex );
-}
-
x68k_neptune_device::x68k_neptune_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, X68K_NEPTUNEX, tag, owner, clock)
, device_x68k_expansion_card_interface(mconfig, *this)