diff options
Diffstat (limited to 'src/devices/bus/snes/sgb.cpp')
-rw-r--r-- | src/devices/bus/snes/sgb.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/snes/sgb.cpp b/src/devices/bus/snes/sgb.cpp index d668e96b45b..f3f150e47a3 100644 --- a/src/devices/bus/snes/sgb.cpp +++ b/src/devices/bus/snes/sgb.cpp @@ -154,10 +154,11 @@ WRITE8_MEMBER( sns_rom_sgb_device::gb_timer_callback ) } -static SLOT_INTERFACE_START(supergb_cart) - SLOT_INTERFACE_INTERNAL("rom", GB_STD_ROM) - SLOT_INTERFACE_INTERNAL("rom_mbc1", GB_ROM_MBC1) -SLOT_INTERFACE_END +static void supergb_cart(device_slot_interface &device) +{ + device.option_add_internal("rom", GB_STD_ROM); + device.option_add_internal("rom_mbc1", GB_ROM_MBC1); +} MACHINE_CONFIG_START(sns_rom_sgb1_device::device_add_mconfig) |