Previous 199869 Revisions Next

r21873 Friday 15th March, 2013 at 10:04:45 UTC by Fabio Priuli
lists have no bios flag, so this check is redundant. nw.
[src/emu]romload.c

trunk/src/emu/romload.c
r21872r21873
13801380     
13811381      /* update total number of roms */
13821382      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      }
13881387     
13891388      /* now process the entries in the region */
13901389      if (ROMREGION_ISROMDATA(region))

Previous 199869 Revisions Next


© 1997-2024 The MAME Team