summaryrefslogtreecommitdiffstats
path: root/src/emu/dimemory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/dimemory.cpp')
-rw-r--r--src/emu/dimemory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/dimemory.cpp b/src/emu/dimemory.cpp
index 3d8c5251d43..b245d51a0b9 100644
--- a/src/emu/dimemory.cpp
+++ b/src/emu/dimemory.cpp
@@ -144,9 +144,9 @@ void device_memory_interface::static_set_addrmap(device_t &device, address_space
{
device_memory_interface *memory;
if (!device.interface(memory))
- throw emu_fatalerror("MCFG_DEVICE_ADDRESS_MAP called on device '%s' with no memory interface", device.tag().c_str());
+ throw emu_fatalerror("MCFG_DEVICE_ADDRESS_MAP called on device '%s' with no memory interface", device.tag());
if (spacenum >= ARRAY_LENGTH(memory->m_address_map))
- throw emu_fatalerror("MCFG_DEVICE_ADDRESS_MAP called on device '%s' with out-of-range space number %d", device.tag().c_str(), spacenum);
+ throw emu_fatalerror("MCFG_DEVICE_ADDRESS_MAP called on device '%s' with out-of-range space number %d", device.tag(), spacenum);
memory->m_address_map[spacenum] = map;
}