diff options
author | 2022-02-23 15:06:53 +1100 | |
---|---|---|
committer | 2022-02-23 15:06:53 +1100 | |
commit | 1281aa019f5175cc76ee3d51d2f56ea28f62aec7 (patch) | |
tree | 5708273d40f2e83f41f85f2b7fd3a4b92ec8b281 /docs/release/src/frontend/mame/audit.cpp | |
parent | 15e11be4b4d02a7cdeff027dae1cd317c2978ded (diff) |
files for 0.241tag241
Diffstat (limited to 'docs/release/src/frontend/mame/audit.cpp')
-rw-r--r-- | docs/release/src/frontend/mame/audit.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/release/src/frontend/mame/audit.cpp b/docs/release/src/frontend/mame/audit.cpp index 6f1d52f2f0f..a6e16fb83e2 100644 --- a/docs/release/src/frontend/mame/audit.cpp +++ b/docs/release/src/frontend/mame/audit.cpp @@ -19,6 +19,7 @@ #include "softlist_dev.h" #include "chd.h" +#include "path.h" #include <algorithm> @@ -422,8 +423,10 @@ media_auditor::summary media_auditor::audit_samples() emu_file file(m_enumerator.options().sample_path(), OPEN_FLAG_READ | OPEN_FLAG_NO_PRELOAD); path_iterator path(searchpath); std::string curpath; - while (path.next(curpath, samplename)) + while (path.next(curpath)) { + util::path_append(curpath, samplename); + // attempt to access the file (.flac) or (.wav) std::error_condition filerr = file.open(curpath + ".flac"); if (filerr) |