diff options
Diffstat (limited to 'src/emu/hashfile.cpp')
-rw-r--r-- | src/emu/hashfile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/hashfile.cpp b/src/emu/hashfile.cpp index 50a32a60b29..a6107e5e630 100644 --- a/src/emu/hashfile.cpp +++ b/src/emu/hashfile.cpp @@ -27,10 +27,8 @@ static bool read_hash_config(const char *hash_path, const util::hash_collection { /* open a file */ emu_file file(hash_path, OPEN_FLAG_READ); - if (file.open(std::string(sysname) + ".hsi") != osd_file::error::NONE) - { + if (file.open(std::string(sysname) + ".hsi")) return false; - } pugi::xml_document doc; |