summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/saturn_cdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/saturn_cdb.cpp')
-rw-r--r--src/mame/machine/saturn_cdb.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/machine/saturn_cdb.cpp b/src/mame/machine/saturn_cdb.cpp
index cd7662e7a64..e31761bdd2f 100644
--- a/src/mame/machine/saturn_cdb.cpp
+++ b/src/mame/machine/saturn_cdb.cpp
@@ -28,11 +28,12 @@ void saturn_cdb_device::saturn_cdb_map(address_map &map)
map(0x00000000, 0x0000ffff).rom();
}
-MACHINE_CONFIG_START(saturn_cdb_device::device_add_mconfig)
- MCFG_DEVICE_ADD("cdbcpu", SH1, DERIVED_CLOCK(1, 1))
- MCFG_DEVICE_PROGRAM_MAP(saturn_cdb_map)
- MCFG_DEVICE_DISABLE() // we're not actually using the CD Block ROM for now
-MACHINE_CONFIG_END
+void saturn_cdb_device::device_add_mconfig(machine_config &config)
+{
+ sh1_device &cdbcpu(SH1(config, "cdbcpu", DERIVED_CLOCK(1, 1)));
+ cdbcpu.set_addrmap(AS_PROGRAM, &saturn_cdb_device::saturn_cdb_map);
+ cdbcpu.set_disable(); // we're not actually using the CD Block ROM for now
+}
ROM_START( satcdb )
ROM_REGION( 0x10000, "cdbcpu", 0 )