diff options
Diffstat (limited to 'src/emu/bus/apf')
-rw-r--r-- | src/emu/bus/apf/slot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/bus/apf/slot.c b/src/emu/bus/apf/slot.c index 0e0a29a6846..7d4df6a9a08 100644 --- a/src/emu/bus/apf/slot.c +++ b/src/emu/bus/apf/slot.c @@ -49,9 +49,7 @@ void device_apf_cart_interface::rom_alloc(UINT32 size, const char *tag) { if (m_rom == NULL) { - std::string tempstring(tag); - tempstring.append(APFSLOT_ROM_REGION_TAG); - m_rom = device().machine().memory().region_alloc(tempstring.c_str(), size, 1, ENDIANNESS_LITTLE)->base(); + m_rom = device().machine().memory().region_alloc(std::string(tag).append(APFSLOT_ROM_REGION_TAG).c_str(), size, 1, ENDIANNESS_LITTLE)->base(); m_rom_size = size; } } |