trunk/src/emu/clifront.c
| r29213 | r29214 | |
| 148 | 148 | |
| 149 | 149 | machine_config config(*system, m_options); |
| 150 | 150 | software_list_device_iterator iter(config.root_device()); |
| 151 | | if (iter.first() == NULL) |
| 151 | if (iter.count() == 0) |
| 152 | 152 | throw emu_fatalerror(MAMERR_FATALERROR, "Error: unknown option: %s\n", m_options.software_name()); |
| 153 | 153 | |
| 154 | 154 | bool found = false; |
| r29213 | r29214 | |
| 550 | 550 | { |
| 551 | 551 | // see if we have samples |
| 552 | 552 | samples_device_iterator iter(drivlist.config().root_device()); |
| 553 | | if (iter.first() == NULL) |
| 553 | if (iter.count() == 0) |
| 554 | 554 | continue; |
| 555 | 555 | |
| 556 | 556 | // print a header |