mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-13 02:08:31 +12:00
FSC: Use utf8 path strings instead of wchar
Also introduced helper function _utf8ToPath() to convert a utf8-encoded string to fs::path
This commit is contained in:
parent
1ce629126a
commit
168ecf8825
9 changed files with 38 additions and 43 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
{
|
||||
cemu_assert_debug(format.empty() || (format[0] != '/' && format[0] != '\\'));
|
||||
auto tmp = fmt::format(fmt::runtime(format), std::forward<TArgs>(args)...);
|
||||
return GetMlcPath() / fs::path(_asUtf8(tmp));
|
||||
return GetMlcPath() / _utf8ToPath(tmp);
|
||||
}
|
||||
|
||||
template <typename ...TArgs>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue