summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/electron.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/electron.c')
-rw-r--r--src/mess/machine/electron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/electron.c b/src/mess/machine/electron.c
index ca6efe3b4d6..d88d2cfcc2c 100644
--- a/src/mess/machine/electron.c
+++ b/src/mess/machine/electron.c
@@ -347,7 +347,7 @@ void electron_state::machine_start()
{
UINT8 *lo_rom, *up_rom;
astring region_tag;
- memory_region *cart_rom = memregion(region_tag.cpy(m_cart->tag()).cat(GENERIC_ROM_REGION_TAG));
+ memory_region *cart_rom = memregion(region_tag.cpy(m_cart->tag()).cat(GENERIC_ROM_REGION_TAG).c_str());
if (cart_rom)
up_rom = cart_rom->base();