summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/audit.c')
-rw-r--r--src/emu/audit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/audit.c b/src/emu/audit.c
index e02ddbcc77b..8de307d0728 100644
--- a/src/emu/audit.c
+++ b/src/emu/audit.c
@@ -421,6 +421,7 @@ audit_record *media_auditor::audit_one_rom(const rom_entry *rom)
// find the file and checksum it, getting the file length along the way
emu_file file(m_enumerator.options().media_path(), OPEN_FLAG_READ | OPEN_FLAG_NO_PRELOAD);
+ file.set_restrict_to_mediapath(true);
path_iterator path(m_searchpath);
astring curpath;
while (path.next(curpath, record.name()))