summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev/diablo.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-13 12:25:00 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-13 12:25:21 +0200
commit2edee0b81142bb565d646145f79cb6e70a7f1d4a (patch)
treec6cfb2a26a0c981972d280633bcac240b5f481e1 /src/emu/imagedev/diablo.c
parentdcd4f2a5b8476240591fd519c172c3f41710839a (diff)
updated astring constructors to have just one string param, to be more like std::string (nw)
Diffstat (limited to 'src/emu/imagedev/diablo.c')
-rw-r--r--src/emu/imagedev/diablo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/imagedev/diablo.c b/src/emu/imagedev/diablo.c
index 66731719920..1f4af5b3242 100644
--- a/src/emu/imagedev/diablo.c
+++ b/src/emu/imagedev/diablo.c
@@ -170,7 +170,7 @@ void diablo_image_device::call_unload()
static chd_error open_disk_diff(emu_options &options, const char *name, chd_file &source, chd_file &diff_chd)
{
- astring fname(name, ".dif");
+ astring fname = astring(name).cat(".dif");
/* try to open the diff */
//printf("Opening differencing image file: %s\n", fname.c_str());