mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
From: R. Reucher [rene.reucher@batcom-it.net]
Sent: Friday, February 27, 2009 10:17 AM To: submit@mamedev.org Cc: qmc2-devel@lists.sourceforge.net Subject: Proposed patch for src/emu/audit.c Dear MAME developers, I've created the attached diff to src/emu/audit.c (0.129u5) to allow for reporting a ROM state of "correct" when a game/machine doesn't require any ROM files at all (currently it will be reported as "not found", which is wrong IMHO). I know that this isn't really relevant for MAME, but it is for MESS -- so I hope you'll accept the patch. Thanks, Rene -- Rene Reucher rene.reucher@batcom-it.net http://www.batcom-it.net/ It is only people of small moral stature who have to stand on their dignity.
This commit is contained in:
parent
c0b9bcf36c
commit
328aa85a24
@ -230,9 +230,11 @@ int audit_summary(const game_driver *gamedrv, int count, const audit_record *rec
|
||||
int notfound = 0;
|
||||
int recnum;
|
||||
|
||||
/* no count or records means not found */
|
||||
if (count == 0 || records == NULL)
|
||||
/* no count AND no records means not found, no count only means no ROMs required (= correct) */
|
||||
if (count == 0 && records == NULL)
|
||||
return NOTFOUND;
|
||||
else if (count == 0)
|
||||
return CORRECT;
|
||||
|
||||
/* loop over records */
|
||||
for (recnum = 0; recnum < count; recnum++)
|
||||
|
Loading…
Reference in New Issue
Block a user