summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/clifront.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/clifront.c')
-rw-r--r--src/emu/clifront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/clifront.c b/src/emu/clifront.c
index 719aff6f6f5..607c436304f 100644
--- a/src/emu/clifront.c
+++ b/src/emu/clifront.c
@@ -195,7 +195,7 @@ int cli_frontend::execute(int argc, char **argv)
// if we have a command, execute that
if (*(m_options.command()) != 0)
- execute_commands(exename);
+ execute_commands(exename.c_str());
// otherwise, check for a valid system
else
@@ -1687,7 +1687,7 @@ void media_identifier::identify(const char *filename)
if (entry->type == ENTTYPE_FILE)
{
astring curfile(filename, PATH_SEPARATOR, entry->name);
- identify(curfile);
+ identify(curfile.c_str());
}
// close the directory and be done