From 7e4070f563b5b60842ddd3080df4fb59487e2af8 Mon Sep 17 00:00:00 2001 From: mooglyguy Date: Mon, 17 Dec 2018 01:30:26 +0100 Subject: -bus/gameboy/gb_slot, ieee488/hp9895, psx/gamebooster, snes/sgb: Removed MCFG and MACHINE_CONFIG macros. [Ryan Holtz] -cpu/jaguar, lh5801, lr35902, z80: Removed MCFG macros. [Ryan Holtz] -video/sed1520: Removed MCFG macros. [Ryan Holtz] -drivers/gb, jaguar, monty, osborne1, pc1500, pc2000, popeye: Removed MACHINE_CONFIG macros. [Ryan Holtz] --- src/devices/bus/psx/gamebooster.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/devices/bus/psx') diff --git a/src/devices/bus/psx/gamebooster.cpp b/src/devices/bus/psx/gamebooster.cpp index 230ebfea49b..3513f7714e2 100644 --- a/src/devices/bus/psx/gamebooster.cpp +++ b/src/devices/bus/psx/gamebooster.cpp @@ -150,10 +150,11 @@ static void gb_cart(device_slot_interface &device) // device.option_add_internal("rom_unk01", GB_ROM_UNK01); } -MACHINE_CONFIG_START(psx_gamebooster_device::device_add_mconfig) +void psx_gamebooster_device::device_add_mconfig(machine_config &config) +{ /* cartslot */ - MCFG_GB_CARTRIDGE_ADD("gbslot", gb_cart, nullptr) + GB_CART_SLOT(config, m_cartslot, gb_cart, nullptr); - MCFG_SOFTWARE_LIST_ADD("cart_list","gameboy") - MCFG_SOFTWARE_LIST_COMPATIBLE_ADD("gbc_list","gbcolor") -MACHINE_CONFIG_END + SOFTWARE_LIST(config, "cart_list").set_original("gameboy"); + SOFTWARE_LIST(config, "gbc_list").set_compatible("gbcolor"); +} -- cgit v1.2.3-70-g09d2