summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/exp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/exp.cpp')
-rw-r--r--src/devices/bus/pet/exp.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/bus/pet/exp.cpp b/src/devices/bus/pet/exp.cpp
index 90157752444..ab7cc9e04dd 100644
--- a/src/devices/bus/pet/exp.cpp
+++ b/src/devices/bus/pet/exp.cpp
@@ -208,9 +208,10 @@ int pet_expansion_slot_device::phi2()
#include "hsg.h"
#include "superpet.h"
-SLOT_INTERFACE_START( pet_expansion_cards )
- SLOT_INTERFACE("64k", PET_64K)
- SLOT_INTERFACE("hsga", CBM8000_HSG_A)
- SLOT_INTERFACE("hsgb", CBM8000_HSG_B)
- SLOT_INTERFACE("superpet", SUPERPET)
-SLOT_INTERFACE_END
+void pet_expansion_cards(device_slot_interface &device)
+{
+ device.option_add("64k", PET_64K);
+ device.option_add("hsga", CBM8000_HSG_A);
+ device.option_add("hsgb", CBM8000_HSG_B);
+ device.option_add("superpet", SUPERPET);
+}