diff options
author | 2015-04-18 18:35:04 +0200 | |
---|---|---|
committer | 2015-04-18 18:35:04 +0200 | |
commit | 59bb9d4fd68f870bb3d05317953ec73cdb13fe14 (patch) | |
tree | b624a31d2d8d62f496d82fb0f4c12f1a3d13e5a7 /src/emu/bus/intv | |
parent | 6a41d76a80e505ba3f772a39acdd5cafe14a1987 (diff) |
some astring to std::string conversion (nw)
Diffstat (limited to 'src/emu/bus/intv')
-rw-r--r-- | src/emu/bus/intv/slot.c | 4 | ||||
-rw-r--r-- | src/emu/bus/intv/slot.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/bus/intv/slot.c b/src/emu/bus/intv/slot.c index 2702247554b..956668a5133 100644 --- a/src/emu/bus/intv/slot.c +++ b/src/emu/bus/intv/slot.c @@ -459,7 +459,7 @@ bool intv_cart_slot_device::call_softlist_load(software_list_device &swlist, con get default card software -------------------------------------------------*/ -void intv_cart_slot_device::get_default_card_software(astring &result) +void intv_cart_slot_device::get_default_card_software(std::string &result) { if (open_image_file(mconfig().options())) { @@ -503,7 +503,7 @@ void intv_cart_slot_device::get_default_card_software(astring &result) //printf("type: %s\n", slot_string); clear(); - result.cpy(slot_string); + result.assign(slot_string); return; } software_get_default_slot(result, "intv_rom"); diff --git a/src/emu/bus/intv/slot.h b/src/emu/bus/intv/slot.h index 4cdcc444b4b..44a50ce28b7 100644 --- a/src/emu/bus/intv/slot.h +++ b/src/emu/bus/intv/slot.h @@ -118,7 +118,7 @@ public: virtual const char *file_extensions() const { return "bin,int,rom,itv"; } // slot interface overrides - virtual void get_default_card_software(astring &result); + virtual void get_default_card_software(std::string &result); // reading and writing virtual DECLARE_READ16_MEMBER(read_rom04) { if (m_cart) return m_cart->read_rom04(space, offset, mem_mask); else return 0xffff; } |