diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-03 17:50:27 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-09 03:18:45 +0200 |
commit | aaa8fdea527d635e6503a1411a06938325cba216 (patch) | |
tree | 59cc67b3e315c0470b8ef644d6736c492ae3dac8 /src/core/file_sys | |
parent | vfs: Add RealVfsFilesystem implementation (diff) | |
download | yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar.gz yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar.bz2 yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar.lz yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar.xz yuzu-aaa8fdea527d635e6503a1411a06938325cba216.tar.zst yuzu-aaa8fdea527d635e6503a1411a06938325cba216.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/vfs_real.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_real.cpp b/src/core/file_sys/vfs_real.cpp index 2923a8e6a..21ea35aaf 100644 --- a/src/core/file_sys/vfs_real.cpp +++ b/src/core/file_sys/vfs_real.cpp @@ -6,7 +6,7 @@ #include <cstddef> #include <iterator> #include <utility> - +#include "common/assert.h" #include "common/common_paths.h" #include "common/logging/log.h" #include "core/file_sys/vfs_real.h" @@ -29,6 +29,8 @@ static std::string ModeFlagsToString(Mode mode) { mode_str = "a"; else if (mode & Mode::Write) mode_str = "w"; + else + UNREACHABLE_MSG("Invalid file open mode: {:02X}", static_cast<u8>(mode)); } mode_str += "b"; |