From 13d27fe17aa064f4d72b00b837f4321cbf7aca75 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 12 Jul 2011 12:00:38 +0000 Subject: [PATCH] if a driver has no required roms then you have it. --- src/emu/audit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/emu/audit.c b/src/emu/audit.c index edf8500af1d..21632f51eba 100644 --- a/src/emu/audit.c +++ b/src/emu/audit.c @@ -144,8 +144,12 @@ m_searchpath = combinedpath; } } + // if there are no required roms then we have the set + if (required == 0) + return CORRECT; + // if we found nothing unique to this set & the set needs roms that aren't in the parent or the parent isn't found either, then we don't have the set at all - if (found == sharedFound && required > 0 && (required != sharedRequired || sharedFound == 0)) + if (found == sharedFound && (required != sharedRequired || sharedFound == 0)) m_record_list.reset(); // return a summary