trunk/src/emu/romload.c
| r21872 | r21873 | |
| 1380 | 1380 | |
| 1381 | 1381 | /* update total number of roms */ |
| 1382 | 1382 | for (const rom_entry *rom = rom_first_file(region); rom != NULL; rom = rom_next_file(rom)) |
| 1383 | | if (ROM_GETBIOSFLAGS(rom) == 0 || ROM_GETBIOSFLAGS(rom) == device->system_bios()) |
| 1384 | | { |
| 1385 | | romdata->romstotal++; |
| 1386 | | romdata->romstotalsize += rom_file_size(rom); |
| 1387 | | } |
| 1383 | { |
| 1384 | romdata->romstotal++; |
| 1385 | romdata->romstotalsize += rom_file_size(rom); |
| 1386 | } |
| 1388 | 1387 | |
| 1389 | 1388 | /* now process the entries in the region */ |
| 1390 | 1389 | if (ROMREGION_ISROMDATA(region)) |