diff options
Diffstat (limited to 'src/mame/machine/decopincpu.h')
-rw-r--r-- | src/mame/machine/decopincpu.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/machine/decopincpu.h b/src/mame/machine/decopincpu.h index 7a8264e8508..62990faa210 100644 --- a/src/mame/machine/decopincpu.h +++ b/src/mame/machine/decopincpu.h @@ -64,8 +64,8 @@ class decocpu_type1_device : public device_t { public: - decocpu_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - decocpu_type1_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); + decocpu_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocpu_type1_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); required_device<cpu_device> m_cpu; required_device<pia6821_device> m_pia21; required_device<pia6821_device> m_pia24; @@ -104,7 +104,7 @@ public: INPUT_CHANGED_MEMBER(main_nmi); INPUT_CHANGED_MEMBER(audio_nmi); - static void static_set_cpuregion(device_t &device, const char *tag); + static void static_set_cpuregion(device_t &device, std::string tag); protected: // overrides @@ -115,7 +115,7 @@ protected: static const device_timer_id TIMER_IRQ = 0; private: - const char* m_cputag; // region for cpu board code and data + std::string m_cputag; // region for cpu board code and data emu_timer* m_irq_timer; bool m_irq_active; bool m_ca2; @@ -134,8 +134,8 @@ private: class decocpu_type2_device : public decocpu_type1_device { public: - decocpu_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - decocpu_type2_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); + decocpu_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocpu_type2_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); protected: // overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -145,8 +145,8 @@ protected: class decocpu_type3_device : public decocpu_type2_device { public: - decocpu_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - decocpu_type3_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); + decocpu_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocpu_type3_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); protected: // overrides @@ -156,7 +156,7 @@ protected: class decocpu_type3b_device : public decocpu_type3_device { public: - decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + decocpu_type3b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: // overrides |