diff options
author | 2018-12-17 01:30:26 +0100 | |
---|---|---|
committer | 2018-12-17 01:30:26 +0100 | |
commit | 7e4070f563b5b60842ddd3080df4fb59487e2af8 (patch) | |
tree | baf41095fc80722a434dbdbf54698e7241fefe15 /src/devices/bus/psx | |
parent | b844b7281d7a78aac022e2100693be7a4eedf798 (diff) |
-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]
Diffstat (limited to 'src/devices/bus/psx')
-rw-r--r-- | src/devices/bus/psx/gamebooster.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
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"); +} |