diff options
Diffstat (limited to 'src/devices/bus/oricext/oricext.cpp')
-rw-r--r-- | src/devices/bus/oricext/oricext.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/devices/bus/oricext/oricext.cpp b/src/devices/bus/oricext/oricext.cpp index 2c1894b385c..24acefd9f9c 100644 --- a/src/devices/bus/oricext/oricext.cpp +++ b/src/devices/bus/oricext/oricext.cpp @@ -6,11 +6,10 @@ const device_type ORICEXT_CONNECTOR = &device_creator<oricext_connector>; -oricext_connector::oricext_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : +oricext_connector::oricext_connector(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : device_t(mconfig, ORICEXT_CONNECTOR, "ORIC extension connector", tag, owner, clock, "oricext_connector", __FILE__), device_slot_interface(mconfig, *this), - irq_handler(*this), - cputag(nullptr) + irq_handler(*this) { } @@ -18,7 +17,7 @@ oricext_connector::~oricext_connector() { } -void oricext_connector::set_cputag(const char *tag) +void oricext_connector::set_cputag(std::string tag) { cputag = tag; } @@ -40,10 +39,9 @@ void oricext_connector::device_config_complete() dev->set_cputag(cputag); } -oricext_device::oricext_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +oricext_device::oricext_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), - device_slot_card_interface(mconfig, *this), - cputag(nullptr), + device_slot_card_interface(mconfig, *this), cpu(nullptr), connector(nullptr), bank_c000_r(nullptr), @@ -57,7 +55,7 @@ oricext_device::oricext_device(const machine_config &mconfig, device_type type, { } -void oricext_device::set_cputag(const char *tag) +void oricext_device::set_cputag(std::string tag) { cputag = tag; } |