Previous 199869 Revisions Next

r30925 Tuesday 10th June, 2014 at 11:59:39 UTC by Robbbert
romident: print a summary at the end, instead of garbage.
[src/emu]clifront.c

trunk/src/emu/clifront.c
r30924r30925
15491549   if (ident.matches() == ident.total())
15501550      return;
15511551   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());
15531553   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());
15551555   else
1556      throw emu_fatalerror(MAMERR_IDENT_NONE, NULL);
1556      throw emu_fatalerror(MAMERR_IDENT_NONE, "No roms matched.\n");
15571557}
15581558
15591559

Previous 199869 Revisions Next


© 1997-2024 The MAME Team