summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romload.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-11-23 04:55:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-11-23 04:55:26 +0000
commit9072c7f9116996a41e9fac14a89677f9d8eb89f9 (patch)
tree26fceb4fb95f265850c578cb9fa880075b20730c /src/emu/romload.c
parent41be698d6e813b1018cb35be64254e53db8e8a21 (diff)
Added new module tagmap which is a simple hashed string map.
Updated device and input port lists to use the tagmap for tag searches. Also removed the whole "quark" thing from the validity checker in favor of using the tagmaps.
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r--src/emu/romload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c
index 860b4a9733b..8f01ea4c0ba 100644
--- a/src/emu/romload.c
+++ b/src/emu/romload.c
@@ -165,7 +165,7 @@ const rom_source *rom_first_source(const game_driver *drv, const machine_config
/* otherwise, look through devices */
if (config != NULL)
- for (device = config->devicelist; device != NULL; device = device->next)
+ for (device = config->devicelist.head; device != NULL; device = device->next)
{
const rom_entry *devromp = (const rom_entry *)device_get_info_ptr(device, DEVINFO_PTR_ROM_REGION);
if (devromp != NULL)
@@ -186,7 +186,7 @@ const rom_source *rom_next_source(const game_driver *drv, const machine_config *
/* if the previous was the driver, we want the first device */
if (rom_source_is_gamedrv(drv, previous))
- device = (config != NULL) ? config->devicelist : NULL;
+ device = (config != NULL) ? config->devicelist.head : NULL;
else
device = ((const device_config *)previous)->next;