diff options
author | 2016-03-21 08:27:06 +0100 | |
---|---|---|
committer | 2016-03-21 08:27:06 +0100 | |
commit | a99df788017c2bf5a56034d4f9152bf8ab95a168 (patch) | |
tree | 3beec27b413c75b8f9f88199519e45fd07959bf8 /src/emu/cheat.cpp | |
parent | b224d9a77ad6483daf2b60b75dbdc323a3bcd4b0 (diff) | |
parent | 3afd990226a2c647290579bebb5537bd0fd3faac (diff) |
Merge with master
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()); |