summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/lpci/i82439tx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/lpci/i82439tx.h')
-rw-r--r--src/devices/bus/lpci/i82439tx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/lpci/i82439tx.h b/src/devices/bus/lpci/i82439tx.h
index a0179af8265..1243f37f52c 100644
--- a/src/devices/bus/lpci/i82439tx.h
+++ b/src/devices/bus/lpci/i82439tx.h
@@ -27,10 +27,10 @@ class i82439tx_device : public northbridge_device,
{
public:
// construction/destruction
- i82439tx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ i82439tx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void static_set_cpu(device_t &device, const char *tag) { dynamic_cast<i82439tx_device &>(device).m_cpu_tag = tag; }
- static void static_set_region(device_t &device, const char *tag) { dynamic_cast<i82439tx_device &>(device).m_region_tag = tag; }
+ static void static_set_cpu(device_t &device, std::string tag) { dynamic_cast<i82439tx_device &>(device).m_cpu_tag = tag; }
+ static void static_set_region(device_t &device, std::string tag) { dynamic_cast<i82439tx_device &>(device).m_region_tag = tag; }
virtual UINT32 pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask) override;
virtual void pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask) override;
@@ -43,8 +43,8 @@ protected:
void i82439tx_configure_memory(UINT8 val, offs_t begin, offs_t end);
private:
- const char *m_cpu_tag;
- const char *m_region_tag;
+ std::string m_cpu_tag;
+ std::string m_region_tag;
address_space *m_space;
UINT8 *m_rom;