summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nubus/nubus_cb264.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nubus/nubus_cb264.cpp')
-rw-r--r--src/devices/bus/nubus/nubus_cb264.cpp21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/devices/bus/nubus/nubus_cb264.cpp b/src/devices/bus/nubus/nubus_cb264.cpp
index f5893e8574b..bbc4fae7773 100644
--- a/src/devices/bus/nubus/nubus_cb264.cpp
+++ b/src/devices/bus/nubus/nubus_cb264.cpp
@@ -22,13 +22,6 @@
#define VRAM_SIZE (0x200000) // 2 megs, maxed out
-MACHINE_CONFIG_START( cb264 )
- MCFG_SCREEN_ADD( CB264_SCREEN_NAME, RASTER)
- MCFG_SCREEN_UPDATE_DEVICE(DEVICE_SELF, nubus_cb264_device, screen_update)
- MCFG_SCREEN_RAW_PARAMS(25175000, 800, 0, 640, 525, 0, 480)
- MCFG_SCREEN_SIZE(1024,768)
- MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
-MACHINE_CONFIG_END
ROM_START( cb264 )
ROM_REGION(0x4000, CB264_ROM_REGION, 0)
@@ -44,14 +37,16 @@ DEFINE_DEVICE_TYPE(NUBUS_CB264, nubus_cb264_device, "nb_c264", "RasterOps ColorB
//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-machine_config_constructor nubus_cb264_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( cb264 );
-}
+MACHINE_CONFIG_MEMBER( nubus_cb264_device::device_add_mconfig )
+ MCFG_SCREEN_ADD( CB264_SCREEN_NAME, RASTER)
+ MCFG_SCREEN_UPDATE_DEVICE(DEVICE_SELF, nubus_cb264_device, screen_update)
+ MCFG_SCREEN_RAW_PARAMS(25175000, 800, 0, 640, 525, 0, 480)
+ MCFG_SCREEN_SIZE(1024,768)
+ MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
+MACHINE_CONFIG_END
//-------------------------------------------------
// rom_region - device-specific ROM region