diff options
Diffstat (limited to 'src/common/fs/fs_util.cpp')
| -rw-r--r-- | src/common/fs/fs_util.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/fs/fs_util.cpp b/src/common/fs/fs_util.cpp new file mode 100644 index 000000000..0ddfc3131 --- /dev/null +++ b/src/common/fs/fs_util.cpp | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | // Copyright 2021 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "common/fs/fs_util.h" | ||
| 6 | |||
| 7 | namespace Common::FS { | ||
| 8 | |||
| 9 | std::u8string ToU8String(std::string_view utf8_string) { | ||
| 10 | return std::u8string{utf8_string.begin(), utf8_string.end()}; | ||
| 11 | } | ||
| 12 | |||
| 13 | } // namespace Common::FS | ||