mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
Fix game path not respecting utf8 encoding
This commit is contained in:
parent
8bb7ce098c
commit
ce34b95b82
@ -139,7 +139,7 @@ void CemuCommonInit()
|
|||||||
// init title list
|
// init title list
|
||||||
CafeTitleList::Initialize(ActiveSettings::GetUserDataPath("title_list_cache.xml"));
|
CafeTitleList::Initialize(ActiveSettings::GetUserDataPath("title_list_cache.xml"));
|
||||||
for (auto& it : GetConfig().game_paths)
|
for (auto& it : GetConfig().game_paths)
|
||||||
CafeTitleList::AddScanPath(it);
|
CafeTitleList::AddScanPath(_utf8ToPath(it));
|
||||||
fs::path mlcPath = ActiveSettings::GetMlcPath();
|
fs::path mlcPath = ActiveSettings::GetMlcPath();
|
||||||
if (!mlcPath.empty())
|
if (!mlcPath.empty())
|
||||||
CafeTitleList::SetMLCPath(mlcPath);
|
CafeTitleList::SetMLCPath(mlcPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user