diff options
Diffstat (limited to 'src/emu/cheat.cpp')
-rw-r--r-- | src/emu/cheat.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cheat.cpp b/src/emu/cheat.cpp index 0a799ca6f13..f9fe6499d61 100644 --- a/src/emu/cheat.cpp +++ b/src/emu/cheat.cpp @@ -1171,10 +1171,10 @@ bool cheat_manager::save_all(const char *filename) { // open the file with the proper name emu_file cheatfile(machine().options().cheat_path(), OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS); - file_error filerr = cheatfile.open(filename, ".xml"); + osd_file::error filerr = cheatfile.open(filename, ".xml"); // if that failed, return nothing - if (filerr != FILERR_NONE) + if (filerr != osd_file::error::NONE) return false; // wrap the rest of catch errors @@ -1372,10 +1372,10 @@ void cheat_manager::load_cheats(const char *filename) try { // open the file with the proper name - file_error filerr = cheatfile.open(filename, ".xml"); + osd_file::error filerr = cheatfile.open(filename, ".xml"); // loop over all instrances of the files found in our search paths - while (filerr == FILERR_NONE) + while (filerr == osd_file::error::NONE) { osd_printf_verbose("Loading cheats file from %s\n", cheatfile.fullpath()); |