lists have no bios flag, so this check is redundant. nw.

This commit is contained in:
Fabio Priuli 2013-03-15 10:04:45 +00:00
parent 3e9c03874e
commit f156419660

View File

@ -1380,11 +1380,10 @@ void load_software_part_region(device_t *device, char *swlist, char *swname, rom
/* update total number of roms */
for (const rom_entry *rom = rom_first_file(region); rom != NULL; rom = rom_next_file(rom))
if (ROM_GETBIOSFLAGS(rom) == 0 || ROM_GETBIOSFLAGS(rom) == device->system_bios())
{
romdata->romstotal++;
romdata->romstotalsize += rom_file_size(rom);
}
{
romdata->romstotal++;
romdata->romstotalsize += rom_file_size(rom);
}
/* now process the entries in the region */
if (ROMREGION_ISROMDATA(region))