aboutsummaryrefslogtreecommitdiff
path: root/src/qt_common/game_list/worker.cpp
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-11-03 21:58:24 +0100
committercirakg <cirakg@cirakg.xyz>2026-11-03 21:58:24 +0100
commitcdfb1ae93444c0aa02dfe592af36d70ab36549fd (patch)
tree2fa8d7062d907d5ab8d85d64c66be87ea4cdf0d1 /src/qt_common/game_list/worker.cpp
parent51341ec09b25de1d9b01d0c00ee828dd5b861d5c (diff)
parent4383b9787afbf6c63291bf803c8330afb4f21a16 (diff)
Merge upstream Djihads80/Eglantine nx2 into nx2HEADnx2
# Conflicts: # .github/workflows/release-binaries.yml
Diffstat (limited to 'src/qt_common/game_list/worker.cpp')
-rw-r--r--src/qt_common/game_list/worker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt_common/game_list/worker.cpp b/src/qt_common/game_list/worker.cpp
index bd3d81dac4..329fc06990 100644
--- a/src/qt_common/game_list/worker.cpp
+++ b/src/qt_common/game_list/worker.cpp
@@ -18,6 +18,7 @@
#include <QSettings>
#include "common/fs/fs.h"
+#include "common/fs/fs_util.h"
#include "common/fs/path_util.h"
#include "common/settings.h"
#include "core/core.h"
@@ -552,7 +553,7 @@ void GameListWorker::run() {
DirEntryReady(game_list_dir);
if (scan) {
const auto discovery = GameListDiscovery::Discover(
- std::filesystem::u8path(game_dir.path), game_dir.deep_scan,
+ std::filesystem::path(Common::FS::ToU8String(game_dir.path)), game_dir.deep_scan,
[](const auto& path) {
const auto name = Common::FS::PathToUTF8String(path);
return HasSupportedFileExtension(name) || IsExtractedNCAMain(name);