mirror of
https://github.com/holub/mame
synced 2025-04-29 11:30:28 +03:00
Removed GAME_SHARE_ROMS flag and commented old check for duplicate ROM entries
This commit is contained in:
parent
11232428dc
commit
ce85c7f748
@ -45,7 +45,6 @@
|
|||||||
#define GAME_REQUIRES_ARTWORK 0x00004000 /* the driver requires external artwork for key elements of the game */
|
#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_UNOFFICIAL 0x00008000 /* unofficial hardware change */
|
||||||
#define GAME_NO_SOUND_HW 0x00010000 /* sound hardware not available */
|
#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 ----- */
|
/* ----- flags to return from video_update ----- */
|
||||||
|
@ -443,7 +443,8 @@ static int validate_roms(int drivnum, const machine_config *config, region_array
|
|||||||
int error = FALSE;
|
int error = FALSE;
|
||||||
|
|
||||||
/* check for duplicate ROM entries */
|
/* 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];
|
char romaddr[20];
|
||||||
sprintf(romaddr, "%p", driver->rom);
|
sprintf(romaddr, "%p", driver->rom);
|
||||||
@ -454,7 +455,7 @@ static int validate_roms(int drivnum, const machine_config *config, region_array
|
|||||||
error = TRUE;
|
error = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/* iterate, starting with the driver's ROMs and continuing with device ROMs */
|
/* 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))
|
for (const rom_source *source = rom_first_source(driver, config); source != NULL; source = rom_next_source(driver, config, source))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user