From ce85c7f74827b55d173d387ea66777fbd965971b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 11 Feb 2010 13:54:55 +0000 Subject: [PATCH] Removed GAME_SHARE_ROMS flag and commented old check for duplicate ROM entries --- src/emu/driver.h | 1 - src/emu/validity.c | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/driver.h b/src/emu/driver.h index 42fc249cd2c..60f5a9b8974 100644 --- a/src/emu/driver.h +++ b/src/emu/driver.h @@ -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 ----- */ diff --git a/src/emu/validity.c b/src/emu/validity.c index a633d9c5dd6..19c9dd7bcad 100644 --- a/src/emu/validity.c +++ b/src/emu/validity.c @@ -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)) {