summaryrefslogtreecommitdiffstats
path: root/src/emu/softlist_dev.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-04-14 22:13:30 +1000
committer Vas Crabb <vas@vastheman.com>2020-04-15 02:20:23 +1000
commitcf078d736add075a78f488a3ec50c567d1a8fc29 (patch)
tree3d81c39e4021c7991fbcfe804dc7fd99929bff62 /src/emu/softlist_dev.cpp
parent9341daa9edca31cb55ef3a8b842310bdd79551c5 (diff)
ROM loading cleanup:
* More flexible constructors for path_iterator and emu_file * More straightforward system/device ROM loading and software loading when using ROM loader * Proper parent walk when searching for identical CHDs with different names from software list * Fixed hangs if software item parents form a loop * Fixed layouts being loaded from bogus empty paths Note that there are changes in behaviour: * For software list ROMs/disks, MAME will now search the software path before searching the machine path * The search path for the owner of the software list device is used, which may not be the driver itself * MAME will no longer load loose CHDs from the media path - it's just too unwieldy with the number of supported systems * MAME will no longer search archives above the top level of the media path
Diffstat (limited to 'src/emu/softlist_dev.cpp')
-rw-r--r--src/emu/softlist_dev.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp
index 9d5e03d9b3a..d33e357ebc7 100644
--- a/src/emu/softlist_dev.cpp
+++ b/src/emu/softlist_dev.cpp
@@ -9,10 +9,11 @@
***************************************************************************/
#include "emu.h"
-#include "emuopts.h"
+#include "softlist_dev.h"
+
#include "diimage.h"
+#include "emuopts.h"
#include "romload.h"
-#include "softlist_dev.h"
#include "validity.h"
#include <cctype>