summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/psion/module/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/psion/module/slot.h')
-rw-r--r--src/devices/bus/psion/module/slot.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/psion/module/slot.h b/src/devices/bus/psion/module/slot.h
index 93acbebdbca..af913ec8b53 100644
--- a/src/devices/bus/psion/module/slot.h
+++ b/src/devices/bus/psion/module/slot.h
@@ -58,10 +58,7 @@ public:
psion_module_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&slot_options, const char *default_option)
: psion_module_slot_device(mconfig, tag, owner)
{
- option_reset();
- slot_options(*this);
- set_default_option(default_option);
- set_fixed(false);
+ set_options(std::forward<T>(slot_options), default_option, false);
}
psion_module_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
@@ -106,7 +103,7 @@ protected:
};
-// device type definition
+// device type declaration
DECLARE_DEVICE_TYPE(PSION_MODULE_SLOT, psion_module_slot_device)
void psion_hcmodule_devices(device_slot_interface &device);