diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-02-05 09:15:57 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-02-05 09:15:57 +0000 |
commit | c8b1d724d94ec77ac4154275cbff8bab2eb2c54e (patch) | |
tree | 430483a33400e15fb120ee8462e108590fc8f9cd | |
parent | b9106cf7e40745e24216fe7914e98c97f107e5de (diff) |
Do the softlist validation only on validate command (no whatsnew)
-rw-r--r-- | src/emu/softlist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/softlist.c b/src/emu/softlist.c index ce4c178b558..8512ff50907 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -12,6 +12,7 @@ #include "emuopts.h" #include "hash.h" #include "softlist.h" +#include "clifront.h" #include <ctype.h> @@ -1922,6 +1923,9 @@ void software_list_device::device_validity_check(validity_checker &valid) const if (s_checked_lists.add(m_list_name, 1, false) == TMERR_DUPLICATE) return; + // do device validation only in case of validate command + if (strcmp(mconfig().options().command(), CLICOMMAND_VALIDATE) != 0) return; + softlist_map names; softlist_map descriptions; |