diff options
author | 2020-04-14 22:13:30 +1000 | |
---|---|---|
committer | 2020-04-15 02:20:23 +1000 | |
commit | cf078d736add075a78f488a3ec50c567d1a8fc29 (patch) | |
tree | 3d81c39e4021c7991fbcfe804dc7fd99929bff62 /src/frontend/mame/clifront.cpp | |
parent | 9341daa9edca31cb55ef3a8b842310bdd79551c5 (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/frontend/mame/clifront.cpp')
-rw-r--r-- | src/frontend/mame/clifront.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/clifront.cpp b/src/frontend/mame/clifront.cpp index fa63a283465..aa5ec7606b8 100644 --- a/src/frontend/mame/clifront.cpp +++ b/src/frontend/mame/clifront.cpp @@ -1279,7 +1279,7 @@ void cli_frontend::verifysoftware(const std::vector<std::string> &args) nrlists++; for (const software_info &swinfo : swlistdev.get_info()) { - media_auditor::summary summary = auditor.audit_software(swlistdev.list_name(), &swinfo, AUDIT_VALIDATE_FAST); + media_auditor::summary summary = auditor.audit_software(swlistdev, swinfo, AUDIT_VALIDATE_FAST); print_summary( auditor, summary, false, @@ -1386,7 +1386,7 @@ void cli_frontend::verifysoftlist(const std::vector<std::string> &args) // Get the actual software list contents for (const software_info &swinfo : swlistdev.get_info()) { - media_auditor::summary summary = auditor.audit_software(swlistdev.list_name(), &swinfo, AUDIT_VALIDATE_FAST); + media_auditor::summary summary = auditor.audit_software(swlistdev, swinfo, AUDIT_VALIDATE_FAST); print_summary( auditor, summary, false, |