trunk/src/emu/clifront.c
| r30924 | r30925 | |
| 1549 | 1549 | if (ident.matches() == ident.total()) |
| 1550 | 1550 | return; |
| 1551 | 1551 | else if (ident.matches() == ident.total() - ident.nonroms()) |
| 1552 | | throw emu_fatalerror(MAMERR_IDENT_NONROMS, NULL); |
| 1552 | throw emu_fatalerror(MAMERR_IDENT_NONROMS, "Out of %d files, %d matched, %d are not roms.\n",ident.total(),ident.matches(),ident.nonroms()); |
| 1553 | 1553 | else if (ident.matches() > 0) |
| 1554 | | throw emu_fatalerror(MAMERR_IDENT_PARTIAL, NULL); |
| 1554 | throw emu_fatalerror(MAMERR_IDENT_PARTIAL, "Out of %d files, %d matched, %d did not match.\n",ident.total(),ident.matches(),ident.total()-ident.matches()); |
| 1555 | 1555 | else |
| 1556 | | throw emu_fatalerror(MAMERR_IDENT_NONE, NULL); |
| 1556 | throw emu_fatalerror(MAMERR_IDENT_NONE, "No roms matched.\n"); |
| 1557 | 1557 | } |
| 1558 | 1558 | |
| 1559 | 1559 | |