From e55144bfe55c6ac809c8a46276b71b5df592eaef Mon Sep 17 00:00:00 2001 From: Crimson <144462348+CrimsonMac@users.noreply.github.com> Date: Sat, 17 Oct 2026 01:18:48 +0300 Subject: [PATCH] fix(libc): build the working directory path without deprecated u8path --- core/libs/prx/libc/src/General.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/prx/libc/src/General.cpp b/core/libs/prx/libc/src/General.cpp index 27caa6d483..4de3a94a3c 100644 --- a/core/libs/prx/libc/src/General.cpp +++ b/core/libs/prx/libc/src/General.cpp @@ -467,7 +467,7 @@ extern "C" int SetWorkingDirectory_nid_no_patch(const char* resolved) { auto& state = Directories(); std::lock_guard lock(state.mutex); try { - return SetWorkingDirectory(state, std::filesystem::u8path(resolved)); + return SetWorkingDirectory(state, std::filesystem::path(reinterpret_cast(resolved))); } catch (const std::bad_alloc&) { return 12; } catch (const std::filesystem::filesystem_error& error) {