summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pccard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pccard.h')
-rw-r--r--src/devices/machine/pccard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/machine/pccard.h b/src/devices/machine/pccard.h
index 9ae0eedf350..eaef2b92aaa 100644
--- a/src/devices/machine/pccard.h
+++ b/src/devices/machine/pccard.h
@@ -22,6 +22,15 @@ DECLARE_DEVICE_TYPE(PCCARD_SLOT, pccard_slot_device)
class pccard_slot_device : public device_t, public device_slot_interface
{
public:
+ template <typename T>
+ pccard_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt)
+ : pccard_slot_device(mconfig, tag, owner, (uint32_t)0)
+ {
+ option_reset();
+ opts(*this);
+ set_default_option(dflt);
+ set_fixed(false);
+ }
pccard_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ_LINE_MEMBER(read_line_inserted);