Renamed GAME_CAN_SHARE_ROMS to GAME_SHARE_ROMS (sounds more logical)

This commit is contained in:
Miodrag Milanovic 2010-02-11 10:25:14 +00:00
parent a8aedb92b0
commit f058d3f6e0
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
#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_CAN_SHARE_ROMS 0x00020000 /* can share roms with other games (different hardware same roms) */
#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,7 @@ 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_CAN_SHARE_ROMS) == 0)
if (driver->rom != NULL && (driver->flags & GAME_NO_STANDALONE) == 0 && (driver->flags & GAME_SHARE_ROMS) == 0)
{
char romaddr[20];
sprintf(romaddr, "%p", driver->rom);