| 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 |
| r25410 | r25411 | |
|---|---|---|
| 606 | 606 | } |
| 607 | 607 | |
| 608 | 608 | // add optional flag |
| 609 | if ( | |
| 609 | if (ROM_ISOPTIONAL(rom)) | |
| 610 | 610 | output.cat(" optional=\"yes\""); |
| 611 | 611 | |
| 612 | 612 | output.cat("/>\n"); |
| r25410 | r25411 | |
|---|---|---|
| 1187 | 1187 | /* if this is NO_DUMP, keep going, though the system may not be able to handle it */ |
| 1188 | 1188 | if (hashes.flag(hash_collection::FLAG_NO_DUMP)) |
| 1189 | 1189 | romdata->knownbad++; |
| 1190 | else if ( | |
| 1190 | else if (ROM_ISOPTIONAL(romp)) | |
| 1191 | 1191 | romdata->warnings++; |
| 1192 | 1192 | else |
| 1193 | 1193 | romdata->errors++; |
| r25410 | r25411 | |
|---|---|---|
| 189 | 189 | /* ----- per-disk macros ----- */ |
| 190 | 190 | #define DISK_GETINDEX(r) ((r)->_offset) |
| 191 | 191 | #define DISK_ISREADONLY(r) ((ROM_GETFLAGS(r) & DISK_READONLYMASK) == DISK_READONLY) |
| 192 | #define DISK_ISOPTIONAL(r) ((ROM_GETFLAGS(r) & ROM_OPTIONALMASK) == ROM_OPTIONAL) | |
| 193 | 192 | |
| 194 | 193 | |
| 195 | 194 | /* ----- start/stop macros ----- */ |
| Previous | 199869 Revisions | Next |