summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/imgcntrl.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-02-24 18:47:37 -0500
committer AJR <ajrhacker@users.noreply.github.com>2016-02-24 18:47:37 -0500
commit3fc0787fa8d7c9a664ffbf43c07b558d840b803e (patch)
tree79304e5ed1c216066d7872bd78746aa44c7cd9d8 /src/emu/ui/imgcntrl.cpp
parent5a31d8513b9bc63637aa50bffb59d4ce1c246029 (diff)
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)
Diffstat (limited to 'src/emu/ui/imgcntrl.cpp')
-rw-r--r--src/emu/ui/imgcntrl.cpp1
1 files changed, 1 insertions, 0 deletions
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"