src/emu/clifront.c
| r12489 | r12490 | |
| 460 | 460 | |
| 461 | 461 | // iterate through matches, and then through ROMs |
| 462 | 462 | while (drivlist.next()) |
| 463 | | for (const rom_source *source = rom_first_source(drivlist.config()); source != NULL; source = rom_next_source(*source)) |
| 463 | for (const rom_source *source = rom_first_source(drivlist.config()); source != NULL; source = rom_next_source(*source)) |
| 464 | { |
| 465 | bool isdiver = (source == rom_first_source(drivlist.config())); |
| 464 | 466 | for (const rom_entry *region = rom_first_region(*source); region; region = rom_next_region(region)) |
| 465 | 467 | for (const rom_entry *rom = rom_first_file(region); rom; rom = rom_next_file(rom)) |
| 466 | 468 | { |
| 467 | 469 | // if we have a CRC, display it |
| 468 | 470 | UINT32 crc; |
| 469 | 471 | if (hash_collection(ROM_GETHASHDATA(rom)).crc(crc)) |
| 470 | | mame_printf_info("%08x %-16s %s\n", crc, ROM_GETNAME(rom), drivlist.driver().description); |
| 472 | mame_printf_info("%08x %-16s %s\n", crc, ROM_GETNAME(rom), isdiver ? drivlist.driver().description : source->name()); |
| 471 | 473 | } |
| 474 | } |
| 472 | 475 | } |
| 473 | 476 | |
| 474 | 477 | |