src/emu/clifront.c
| r12210 | r12211 | |
| 183 | 183 | if (strlen(m_options.software_name()) > 0) { |
| 184 | 184 | machine_config config(*system, m_options); |
| 185 | 185 | if (!config.devicelist().first(SOFTWARE_LIST)) |
| 186 | | throw emu_fatalerror(MAMERR_FATALERROR, "No software lists defined for this system\n"); |
| 186 | throw emu_fatalerror(MAMERR_FATALERROR, "Error: unknown option: %s\n", m_options.software_name()); |
| 187 | 187 | |
| 188 | 188 | bool found = FALSE; |
| 189 | 189 | for (device_t *swlists = config.devicelist().first(SOFTWARE_LIST); swlists != NULL; swlists = swlists->typenext()) |