summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/audit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/audit.cpp')
-rw-r--r--src/emu/audit.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/audit.cpp b/src/emu/audit.cpp
index 7f371ee56c8..e9e4dee63f2 100644
--- a/src/emu/audit.cpp
+++ b/src/emu/audit.cpp
@@ -296,11 +296,11 @@ media_auditor::summary media_auditor::audit_samples()
while (path.next(curpath, samplename))
{
// attempt to access the file (.flac) or (.wav)
- file_error filerr = file.open(curpath.c_str(), ".flac");
- if (filerr != FILERR_NONE)
+ osd_file::error filerr = file.open(curpath.c_str(), ".flac");
+ if (filerr != osd_file::error::NONE)
filerr = file.open(curpath.c_str(), ".wav");
- if (filerr == FILERR_NONE)
+ if (filerr == osd_file::error::NONE)
{
record.set_status(audit_record::STATUS_GOOD, audit_record::SUBSTATUS_GOOD);
found++;
@@ -433,14 +433,14 @@ audit_record *media_auditor::audit_one_rom(const rom_entry *rom)
while (path.next(curpath, record.name()))
{
// open the file if we can
- file_error filerr;
+ osd_file::error filerr;
if (has_crc)
filerr = file.open(curpath.c_str(), crc);
else
filerr = file.open(curpath.c_str());
// if it worked, get the actual length and hashes, then stop
- if (filerr == FILERR_NONE)
+ if (filerr == osd_file::error::NONE)
{
record.set_actual(file.hashes(m_validation), file.size());
break;