diff options
author | 2015-04-12 08:05:15 +0200 | |
---|---|---|
committer | 2015-04-12 08:05:43 +0200 | |
commit | 7faba31b1b8dcd6caa5f1b651d2693106de08d35 (patch) | |
tree | c528d5479eee247ee5305df53a298a09b594fccc /src/emu/bus/a800 | |
parent | 15a464dac99052edc0645374a77ecef8d1a65b0d (diff) |
There is no implicit conversion to char* in std::string (nw)
Diffstat (limited to 'src/emu/bus/a800')
-rw-r--r-- | src/emu/bus/a800/a800_slot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/bus/a800/a800_slot.c b/src/emu/bus/a800/a800_slot.c index e6d06c936e6..566b4475380 100644 --- a/src/emu/bus/a800/a800_slot.c +++ b/src/emu/bus/a800/a800_slot.c @@ -65,7 +65,7 @@ void device_a800_cart_interface::rom_alloc(UINT32 size, const char *tag) { astring tempstring(tag); tempstring.cat(A800SLOT_ROM_REGION_TAG); - m_rom = device().machine().memory().region_alloc(tempstring, size, 1, ENDIANNESS_LITTLE)->base(); + m_rom = device().machine().memory().region_alloc(tempstring.c_str(), size, 1, ENDIANNESS_LITTLE)->base(); m_rom_size = size; // setup other helpers |