mirror of
https://github.com/holub/mame
synced 2025-05-31 18:11:50 +03:00
fix exit status (nw)
This commit is contained in:
parent
285147ec0d
commit
e475581ac1
@ -237,7 +237,7 @@ bool validity_checker::check_all_matching(const char *string)
|
||||
|
||||
// if we failed to match anything, it
|
||||
if (string && !validated_any)
|
||||
throw emu_fatalerror(EMU_ERR_FAILED_VALIDITY, "\"%s\" failed to match any drivers\n", string);
|
||||
throw emu_fatalerror(EMU_ERR_NO_SUCH_GAME, "No matching systems found for '%s'", string);
|
||||
|
||||
return !(m_errors > 0 || m_warnings > 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user