diff options
author | 2015-04-22 11:30:19 +0200 | |
---|---|---|
committer | 2015-04-22 11:30:45 +0200 | |
commit | 54f8b3ae5df6736c58b2a8398f9ac85da425c96d (patch) | |
tree | 5924033acf314625b14317b674adc9e9730c97cc /src/emu/render.c | |
parent | 946958136d85f2a1485dfb962487cba43ac6c048 (diff) |
moved all to std::string (nw)
Diffstat (limited to 'src/emu/render.c')
-rw-r--r-- | src/emu/render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.c b/src/emu/render.c index ed4a7b7d1a0..30a0b992215 100644 --- a/src/emu/render.c +++ b/src/emu/render.c @@ -1571,9 +1571,9 @@ bool render_target::load_layout_file(const char *dirname, const char *filename) else { // build the path and optionally prepend the directory - astring fname = astring(filename).cat(".lay"); + std::string fname = std::string(filename).append(".lay"); if (dirname != NULL) - fname.ins(0, PATH_SEPARATOR).ins(0, dirname); + fname.insert(0, PATH_SEPARATOR).insert(0, dirname); // attempt to open the file; bail if we can't emu_file layoutfile(manager().machine().options().art_path(), OPEN_FLAG_READ); |