Removed GAME_SHARE_ROMS flag and commented old check for duplicate ROM entries

This commit is contained in:
Miodrag Milanovic 2010-02-11 13:54:55 +00:00
parent 11232428dc
commit ce85c7f748
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,6 @@
#define GAME_REQUIRES_ARTWORK 0x00004000 /* the driver requires external artwork for key elements of the game */
#define GAME_UNOFFICIAL 0x00008000 /* unofficial hardware change */
#define GAME_NO_SOUND_HW 0x00010000 /* sound hardware not available */
#define GAME_SHARE_ROMS 0x00020000 /* share roms with other games (different hardware same roms) */
/* ----- flags to return from video_update ----- */

View File

@ -443,7 +443,8 @@ static int validate_roms(int drivnum, const machine_config *config, region_array
int error = FALSE;
/* check for duplicate ROM entries */
if (driver->rom != NULL && (driver->flags & GAME_NO_STANDALONE) == 0 && (driver->flags & GAME_SHARE_ROMS) == 0)
/*
if (driver->rom != NULL && (driver->flags & GAME_NO_STANDALONE) == 0 )
{
char romaddr[20];
sprintf(romaddr, "%p", driver->rom);
@ -454,7 +455,7 @@ static int validate_roms(int drivnum, const machine_config *config, region_array
error = TRUE;
}
}
*/
/* iterate, starting with the driver's ROMs and continuing with device ROMs */
for (const rom_source *source = rom_first_source(driver, config); source != NULL; source = rom_next_source(driver, config, source))
{