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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/electron.c b/src/mess/machine/electron.c
index d88d2cfcc2c..e344624b444 100644
--- a/src/mess/machine/electron.c
+++ b/src/mess/machine/electron.c
@@ -346,8 +346,8 @@ void electron_state::machine_reset()
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).c_str());
+ std::string region_tag;
+ memory_region *cart_rom = memregion(region_tag.assign(m_cart->tag()).append(GENERIC_ROM_REGION_TAG).c_str());
if (cart_rom)
up_rom = cart_rom->base();