Previous 199869 Revisions Next

r25411 Tuesday 24th September, 2013 at 15:03:51 UTC by Oliver Stöneberg
removed DISK_ISOPTIONAL macro in favor of identical ROM_ISOPTIONAL (nw)
[src/emu]info.c romload.c romload.h

trunk/src/emu/info.c
r25410r25411
606606            }
607607
608608            // add optional flag
609            if ((!is_disk && ROM_ISOPTIONAL(rom)) || (is_disk && DISK_ISOPTIONAL(rom)))
609            if (ROM_ISOPTIONAL(rom))
610610               output.cat(" optional=\"yes\"");
611611
612612            output.cat("/>\n");
trunk/src/emu/romload.c
r25410r25411
11871187            /* if this is NO_DUMP, keep going, though the system may not be able to handle it */
11881188            if (hashes.flag(hash_collection::FLAG_NO_DUMP))
11891189               romdata->knownbad++;
1190            else if (DISK_ISOPTIONAL(romp))
1190            else if (ROM_ISOPTIONAL(romp))
11911191               romdata->warnings++;
11921192            else
11931193               romdata->errors++;
trunk/src/emu/romload.h
r25410r25411
189189/* ----- per-disk macros ----- */
190190#define DISK_GETINDEX(r)            ((r)->_offset)
191191#define DISK_ISREADONLY(r)          ((ROM_GETFLAGS(r) & DISK_READONLYMASK) == DISK_READONLY)
192#define DISK_ISOPTIONAL(r)          ((ROM_GETFLAGS(r) & ROM_OPTIONALMASK) == ROM_OPTIONAL)
193192
194193
195194/* ----- start/stop macros ----- */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team