diff options
author | 2010-01-17 09:26:29 +0000 | |
---|---|---|
committer | 2010-01-17 09:26:29 +0000 | |
commit | d061ced59276808138b8a62ca99c6530d0b179bf (patch) | |
tree | e08630dd72dce81f385643006b35aa9a802e657b /src/emu/clifront.c | |
parent | 14e2b9acf31db5fbc78a1ece0548130e4d7bed24 (diff) |
Created new template class tagged_list which manages a simple list
along with a tagmap. Changed memory regions, input ports, and devices
to use this class. For devices, converted typenext and classnext
fields into methods which dynamically search for the next item.
Changed a number of macros to use the features of the class, removing
the need for a bunch of helper functions.
Diffstat (limited to 'src/emu/clifront.c')
-rw-r--r-- | src/emu/clifront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/clifront.c b/src/emu/clifront.c index a5cb042197a..c86b39010b1 100644 --- a/src/emu/clifront.c +++ b/src/emu/clifront.c @@ -659,7 +659,7 @@ int cli_info_listdevices(core_options *options, const char *gamename) printf("Driver %s (%s):\n", drivers[drvindex]->name, drivers[drvindex]->description); /* iterate through devices */ - for (device = config->devicelist.head; device != NULL; device = device->next) + for (device = config->devicelist.first(); device != NULL; device = device->next) { switch (device->devclass) { |