diff options
Diffstat (limited to 'src/emu/addrmap.c')
-rw-r--r-- | src/emu/addrmap.c | 2 |
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()); } |