diff options
Diffstat (limited to 'src/devices/machine/wd7600.h')
-rw-r--r-- | src/devices/machine/wd7600.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/wd7600.h b/src/devices/machine/wd7600.h index 25050c9fb0c..e6c461079b1 100644 --- a/src/devices/machine/wd7600.h +++ b/src/devices/machine/wd7600.h @@ -63,7 +63,7 @@ class wd7600_device : public device_t { public: // construction/destruction - wd7600_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + wd7600_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -80,10 +80,10 @@ public: template<class _spkr> void set_spkr_callback(_spkr spkr) { m_write_spkr.set_callback(spkr); } // inline configuration - static void static_set_cputag(device_t &device, const char *tag); - static void static_set_isatag(device_t &device, const char *tag); - static void static_set_biostag(device_t &device, const char *tag); - static void static_set_keybctag(device_t &device, const char *tag); + static void static_set_cputag(device_t &device, std::string tag); + static void static_set_isatag(device_t &device, std::string tag); + static void static_set_biostag(device_t &device, std::string tag); + static void static_set_keybctag(device_t &device, std::string tag); DECLARE_WRITE_LINE_MEMBER(rtc_irq_w); DECLARE_WRITE_LINE_MEMBER( pic1_int_w ) { m_write_intr(state); } @@ -203,10 +203,10 @@ private: void a20m(); // internal state - const char *m_cputag; - const char *m_isatag; - const char *m_biostag; - const char *m_keybctag; + std::string m_cputag; + std::string m_isatag; + std::string m_biostag; + std::string m_keybctag; UINT8 m_portb; int m_iochck; int m_nmi_mask; |