From ce34b95b82399923df88d12d7783c9318acc6320 Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Sat, 30 Sep 2023 03:07:49 +0200 Subject: [PATCH] Fix game path not respecting utf8 encoding --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index f7a66bf9..1ccc2805 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -139,7 +139,7 @@ void CemuCommonInit() // init title list CafeTitleList::Initialize(ActiveSettings::GetUserDataPath("title_list_cache.xml")); for (auto& it : GetConfig().game_paths) - CafeTitleList::AddScanPath(it); + CafeTitleList::AddScanPath(_utf8ToPath(it)); fs::path mlcPath = ActiveSettings::GetMlcPath(); if (!mlcPath.empty()) CafeTitleList::SetMLCPath(mlcPath);