summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/lpci/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/lpci/pci.h')
-rw-r--r--src/devices/bus/lpci/pci.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/bus/lpci/pci.h b/src/devices/bus/lpci/pci.h
index 41258ad226f..6f7da915176 100644
--- a/src/devices/bus/lpci/pci.h
+++ b/src/devices/bus/lpci/pci.h
@@ -44,6 +44,15 @@ class pci_connector_device : public device_t,
public device_slot_interface
{
public:
+ template <typename T>
+ pci_connector_device(machine_config const &mconfig, char const *tag, device_t *owner, T &&opts, char const *dflt, bool fixed)
+ : pci_connector_device(mconfig, tag, owner, (uint32_t)0)
+ {
+ option_reset();
+ opts(*this);
+ set_default_option(dflt);
+ set_fixed(fixed);
+ }
pci_connector_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
virtual ~pci_connector_device();