summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/addrmap.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-12 08:05:15 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-12 08:05:43 +0200
commit7faba31b1b8dcd6caa5f1b651d2693106de08d35 (patch)
treec528d5479eee247ee5305df53a298a09b594fccc /src/emu/addrmap.c
parent15a464dac99052edc0645374a77ecef8d1a65b0d (diff)
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/addrmap.c')
-rw-r--r--src/emu/addrmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/addrmap.c b/src/emu/addrmap.c
index 9da36efa2e3..4453da2668f 100644
--- a/src/emu/addrmap.c
+++ b/src/emu/addrmap.c
@@ -492,7 +492,7 @@ void address_map::uplift_submaps(running_machine &machine, device_t &device, dev
{
astring tag;
owner.subtag(tag, entry->m_read.m_tag);
- device_t *mapdevice = machine.device(tag);
+ device_t *mapdevice = machine.device(tag.c_str());
if (mapdevice == NULL) {
throw emu_fatalerror("Attempted to submap a non-existent device '%s' in space %d of device '%s'\n", tag.c_str(), m_spacenum, device.basetag());
}