mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
lists have no bios flag, so this check is redundant. nw.
This commit is contained in:
parent
3e9c03874e
commit
f156419660
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user