summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/es1373.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/es1373.h')
-rw-r--r--src/devices/sound/es1373.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/es1373.h b/src/devices/sound/es1373.h
index 4b77bdc2898..704e9ae0b79 100644
--- a/src/devices/sound/es1373.h
+++ b/src/devices/sound/es1373.h
@@ -95,11 +95,11 @@ struct chan_info {
class es1373_device : public pci_device, public device_sound_interface
{
public:
- es1373_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ es1373_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void map_extra(UINT64 memory_window_start, UINT64 memory_window_end, UINT64 memory_offset, address_space *memory_space,
UINT64 io_window_start, UINT64 io_window_end, UINT64 io_offset, address_space *io_space) override;
- void set_irq_info(const char *tag, const int irq_num);
+ void set_irq_info(std::string tag, const int irq_num);
DECLARE_READ32_MEMBER (reg_r);
DECLARE_WRITE32_MEMBER(reg_w);
@@ -123,7 +123,7 @@ private:
UINT32 m_tempCount;
emu_timer *m_timer;
address_space *m_memory_space;
- const char *m_cpu_tag;
+ std::string m_cpu_tag;
cpu_device *m_cpu;
int m_irq_num;
DECLARE_ADDRESS_MAP(map, 32);