summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/vt82c496.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/vt82c496.h')
-rw-r--r--src/devices/machine/vt82c496.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/machine/vt82c496.h b/src/devices/machine/vt82c496.h
index 8ce78d8bdf8..d6c1c34e819 100644
--- a/src/devices/machine/vt82c496.h
+++ b/src/devices/machine/vt82c496.h
@@ -25,10 +25,10 @@ class vt82c496_device : public device_t
{
public:
// construction/destruction
- vt82c496_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ vt82c496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- static void static_set_cpu(device_t &device, std::string tag) { dynamic_cast<vt82c496_device &>(device).m_cpu_tag = tag; }
- static void static_set_region(device_t &device, std::string tag) { dynamic_cast<vt82c496_device &>(device).m_region_tag = tag; }
+ static void static_set_cpu(device_t &device, const char *tag) { dynamic_cast<vt82c496_device &>(device).m_cpu_tag = tag; }
+ static void static_set_region(device_t &device, const char *tag) { dynamic_cast<vt82c496_device &>(device).m_region_tag = tag; }
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
@@ -38,8 +38,8 @@ protected:
virtual void device_reset() override;
private:
- std::string m_cpu_tag;
- std::string m_region_tag;
+ const char* m_cpu_tag;
+ const char* m_region_tag;
// cpu_device* m_maincpu;
address_space* m_space;
ram_device* m_ram;