summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ql/rom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ql/rom.cpp')
-rw-r--r--src/devices/bus/ql/rom.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/ql/rom.cpp b/src/devices/bus/ql/rom.cpp
index 27d46b5c47b..2edf6c36cf8 100644
--- a/src/devices/bus/ql/rom.cpp
+++ b/src/devices/bus/ql/rom.cpp
@@ -117,9 +117,10 @@ std::string ql_rom_cartridge_slot_device::get_default_card_software(get_default_
#include "miracle_hd.h"
#include "std.h"
-SLOT_INTERFACE_START( ql_rom_cartridge_cards )
- SLOT_INTERFACE("mhd", MIRACLE_HARD_DISK)
+void ql_rom_cartridge_cards(device_slot_interface &device)
+{
+ device.option_add("mhd", MIRACLE_HARD_DISK);
// the following need ROMs from the software list
- SLOT_INTERFACE_INTERNAL("standard", QL_STANDARD_ROM_CARTRIDGE)
-SLOT_INTERFACE_END
+ device.option_add_internal("standard", QL_STANDARD_ROM_CARTRIDGE);
+}