diff options
Diffstat (limited to 'src/devices/cpu/h8/h8_timer16.h')
-rw-r--r-- | src/devices/cpu/h8/h8_timer16.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/devices/cpu/h8/h8_timer16.h b/src/devices/cpu/h8/h8_timer16.h index 92382bb2c06..f8f6c1efda2 100644 --- a/src/devices/cpu/h8/h8_timer16.h +++ b/src/devices/cpu/h8/h8_timer16.h @@ -73,10 +73,10 @@ public: }; - h8_timer16_channel_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - h8_timer16_channel_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); + h8_timer16_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + h8_timer16_channel_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); - void set_info(int tgr_count, int tbr_count, std::string intc, int irq_base); + void set_info(int tgr_count, int tbr_count, const char *intc, int irq_base); DECLARE_READ8_MEMBER(tcr_r); DECLARE_WRITE8_MEMBER(tcr_w); @@ -105,8 +105,7 @@ protected: required_device<h8_device> cpu; h8_timer16_channel_device *chained_timer; h8_intc_device *intc; - std::string chain_tag; - std::string intc_tag; + const char *chain_tag, *intc_tag; int interrupt[6]; UINT8 tier_mask; @@ -133,10 +132,10 @@ protected: class h8h_timer16_channel_device : public h8_timer16_channel_device { public: - h8h_timer16_channel_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + h8h_timer16_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~h8h_timer16_channel_device(); - void set_info(int tgr_count, int tbr_count, std::string intc, int irq_base); + void set_info(int tgr_count, int tbr_count, const char *intc, int irq_base); protected: virtual void tcr_update() override; @@ -147,12 +146,12 @@ protected: class h8s_timer16_channel_device : public h8_timer16_channel_device { public: - h8s_timer16_channel_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + h8s_timer16_channel_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~h8s_timer16_channel_device(); - void set_info(int tgr_count, UINT8 _tier_mask, std::string intc, int irq_base, + void set_info(int tgr_count, UINT8 _tier_mask, const char *intc, int irq_base, int t0, int t1, int t2, int t3, int t4, int t5, int t6, int t7); - void set_chain(std::string chain_tag); + void set_chain(const char *chain_tag); protected: int count_types[8]; @@ -165,7 +164,7 @@ protected: class h8_timer16_device : public device_t { public: - h8_timer16_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + h8_timer16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_info(int timer_count, UINT8 default_tstr); |