summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/hashfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/hashfile.cpp')
-rw-r--r--src/emu/hashfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/hashfile.cpp b/src/emu/hashfile.cpp
index 557d9c28d5f..ca668e1dfae 100644
--- a/src/emu/hashfile.cpp
+++ b/src/emu/hashfile.cpp
@@ -430,7 +430,7 @@ hash_file *hashfile_open(emu_options &options, const char *sysname, int is_prelo
{
hash_file *hashfile = nullptr;
object_pool *pool = nullptr;
- file_error filerr;
+ osd_file::error filerr;
/* create a pool for this hash file */
pool = pool_alloc_lib(error_proc);
@@ -450,7 +450,7 @@ hash_file *hashfile_open(emu_options &options, const char *sysname, int is_prelo
/* open a file */
hashfile->file = global_alloc(emu_file(options.hash_path(), OPEN_FLAG_READ));
filerr = hashfile->file->open(sysname, ".hsi");
- if (filerr != FILERR_NONE)
+ if (filerr != osd_file::error::NONE)
{
global_free(hashfile->file);
hashfile->file = nullptr;