summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/amiga/zorro/zorro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/amiga/zorro/zorro.h')
-rw-r--r--src/devices/bus/amiga/zorro/zorro.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/bus/amiga/zorro/zorro.h b/src/devices/bus/amiga/zorro/zorro.h
index fb14b7f09ca..ad52934f200 100644
--- a/src/devices/bus/amiga/zorro/zorro.h
+++ b/src/devices/bus/amiga/zorro/zorro.h
@@ -228,19 +228,19 @@ class zorro_slot_device : public device_t, public device_slot_interface
{
public:
// construction/destruction
- zorro_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ zorro_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
zorro_slot_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);
+ std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// device-level overrides
virtual void device_start() override;
// inline configuration
- static void set_zorro_slot(device_t &device, device_t *owner, const char *zorro_tag);
+ static void set_zorro_slot(device_t &device, device_t *owner, std::string zorro_tag);
protected:
// configuration
- const char *m_zorro_tag;
+ std::string m_zorro_tag;
};
// device type definition
@@ -253,10 +253,10 @@ class zorro_device : public device_t
public:
// construction/destruction
zorro_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);
+ std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// static configuration helpers
- static void set_cputag(device_t &device, const char *tag);
+ static void set_cputag(device_t &device, std::string tag);
template<class _Object> static devcb_base &set_int2_handler(device_t &device, _Object object)
{ return downcast<zorro_device &>(device).m_int2_handler.set_callback(object); }
@@ -285,7 +285,7 @@ protected:
virtual void device_start() override;
private:
- const char *m_cputag;
+ std::string m_cputag;
devcb_write_line m_ovr_handler;
devcb_write_line m_int2_handler;
@@ -298,9 +298,9 @@ class exp_slot_device : public zorro_device
{
public:
// construction/destruction
- exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ exp_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
exp_slot_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);
+ std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
template<class _Object> static devcb_base &set_ipl_handler(device_t &device, _Object object)
{ return downcast<exp_slot_device &>(device).m_ipl_handler.set_callback(object); }
@@ -334,9 +334,9 @@ class zorro2_device : public zorro_device
{
public:
// construction/destruction
- zorro2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ zorro2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
zorro2_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);
+ std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~zorro2_device();
template<class _Object> static devcb_base &set_eint1_handler(device_t &device, _Object object)