diff options
author | 2015-04-19 09:29:57 +0200 | |
---|---|---|
committer | 2015-04-19 09:29:57 +0200 | |
commit | 3dcf442d7b85e78db30bd5ff5e936b2045f62f0c (patch) | |
tree | 4d88d8726819eb11c84331c69f22d87200f2d0f5 /src/emu/bus/a800 | |
parent | 3c3ee1d1775274c0358425c8692b5f9b82c99a8a (diff) |
astring to std::string in bus section (nw)
Diffstat (limited to 'src/emu/bus/a800')
-rw-r--r-- | src/emu/bus/a800/a800_slot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/bus/a800/a800_slot.c b/src/emu/bus/a800/a800_slot.c index ff9baade892..6ea37620143 100644 --- a/src/emu/bus/a800/a800_slot.c +++ b/src/emu/bus/a800/a800_slot.c @@ -63,8 +63,8 @@ void device_a800_cart_interface::rom_alloc(UINT32 size, const char *tag) { if (m_rom == NULL) { - astring tempstring(tag); - tempstring.cat(A800SLOT_ROM_REGION_TAG); + std::string tempstring(tag); + tempstring.append(A800SLOT_ROM_REGION_TAG); m_rom = device().machine().memory().region_alloc(tempstring.c_str(), size, 1, ENDIANNESS_LITTLE)->base(); m_rom_size = size; @@ -460,8 +460,8 @@ void a5200_cart_slot_device::get_default_card_software(std::string &result) core_fread(m_file, &head[0], 0x10); type = identify_cart_type(&head[0]); - astring info; - if (hashfile_extrainfo(*this, info) && info.cmp("A13MIRRORING")==0) + std::string info; + if (hashfile_extrainfo(*this, info) && info.compare("A13MIRRORING")==0) type = A5200_16K_2CHIPS; } if (type < A5200_4K) |