From 3fc0787fa8d7c9a664ffbf43c07b558d840b803e Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 24 Feb 2016 18:47:37 -0500 Subject: New driver specifiers; changes to -listclones, -listsource; add -listtree Five new specifiers for driver enumeration and all commands depending thereon: - @source.cpp matches all drivers in source.cpp - ^driver matches driver and all its clones - :drivbios matches drivbios and all drivers having it as their BIOS - ^ matches all drivers excluding clone sets - : matches all BIOS roots Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names. The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output. The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers. The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots. The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands. Fix include_all counting error causing assert to fail in find_approximate_matches (nw) Relax dependencies on drivenum.h in UI headers (nw) --- src/emu/ui/imgcntrl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emu/ui/imgcntrl.cpp') diff --git a/src/emu/ui/imgcntrl.cpp b/src/emu/ui/imgcntrl.cpp index 8f3dbeca75b..8fd709ede00 100644 --- a/src/emu/ui/imgcntrl.cpp +++ b/src/emu/ui/imgcntrl.cpp @@ -9,6 +9,7 @@ ***************************************************************************/ #include "emu.h" +#include "drivenum.h" #include "ui/ui.h" #include "ui/menu.h" #include "ui/imgcntrl.h" -- cgit v1.2.3-70-g09d2