diff options
Diffstat (limited to 'src/emu/clifront.c')
| -rw-r--r-- | src/emu/clifront.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/clifront.c b/src/emu/clifront.c index 0975fc8c487..0b90cb4cf97 100644 --- a/src/emu/clifront.c +++ b/src/emu/clifront.c @@ -199,21 +199,21 @@ int cli_frontend::execute(int argc, char **argv) if (list) { software_info *swinfo = software_list_find(list, m_options.software_name(), NULL); - if (swinfo!=NULL) { + if (swinfo!=NULL) { for (software_part *swpart = software_find_part(swinfo, NULL, NULL); swpart != NULL; swpart = software_part_next(swpart)) { const char *mount = software_part_get_feature(swpart, "automount"); - if (mount==NULL || strcmp(mount,"no")!=0) { - // loop trough all parts - // search for a device with the right interface + if (mount==NULL || strcmp(mount,"no")!=0) { + // loop trough all parts + // search for a device with the right interface const device_image_interface *image = NULL; for (bool gotone = config.devicelist().first(image); gotone; gotone = image->next(image)) { - const char *interface = image->image_interface(); + const char *interface = image->image_interface(); if (interface != NULL) - { + { if (!strcmp(interface, swpart->interface_)) - { + { const char *option = m_options.value(image->brief_instance_name()); // mount only if not already mounted if (strlen(option)==0) { @@ -221,7 +221,7 @@ int cli_frontend::execute(int argc, char **argv) astring error; val.printf("%s:%s",m_options.software_name(),swpart->name); m_options.set_value(image->brief_instance_name(), val.cstr(), OPTION_PRIORITY_CMDLINE, error); - assert(!error); + assert(!error); } break; } |
