Previous 15994 Revisions Next

r14615 Friday 24th February, 2012 at 13:36:29 UTC by smf
if no roms are found or are required then display error.
[src/emu]clifront.c

src/emu/clifront.c
r14614r14615
931931      throw emu_fatalerror(MAMERR_NO_SUCH_GAME, "No matching games found for '%s'", gamename);
932932
933933   // if we didn't get anything at all, display a generic end message
934   if (matched == 1 && correct == 0 && incorrect == 0)
934   if (matched > 0 && correct == 0 && incorrect == 0)
935935   {
936936      if (notfound > 0)
937937         throw emu_fatalerror(MAMERR_MISSING_FILES, "romset \"%s\" not found!\n", gamename);
r14614r14615
10231023      throw emu_fatalerror(MAMERR_NO_SUCH_GAME, "No matching games found for '%s'", gamename);
10241024
10251025   // if we didn't get anything at all, display a generic end message
1026   if (matched == 1 && correct == 0 && incorrect == 0)
1026   if (matched > 0 && correct == 0 && incorrect == 0)
10271027   {
10281028      if (notfound > 0)
10291029         throw emu_fatalerror(MAMERR_MISSING_FILES, "sampleset \"%s\" not found!\n", gamename);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team