diff options
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r-- | src/emu/driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp index 4afb6926adc..7d61c40e582 100644 --- a/src/emu/driver.cpp +++ b/src/emu/driver.cpp @@ -32,7 +32,7 @@ ADDRESS_MAP_END // driver_device - constructor //------------------------------------------------- -driver_device::driver_device(const machine_config &mconfig, device_type type, std::string tag) +driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag) : device_t(mconfig, type, "Driver Device", tag, nullptr, 0, "", __FILE__), device_memory_interface(mconfig, *this), m_space_config("generic", ENDIANNESS_LITTLE, 8, 32, 0, nullptr, *ADDRESS_MAP_NAME(generic)), @@ -578,7 +578,7 @@ repeated both in the upper and lower half CUSTOM_INPUT_MEMBER(driver_device::custom_port_read) { - std::string tag = (const char *)param; + const char *tag = (const char *)param; return ioport(tag)->read(); } |