From 3a76b18646b37a433eb3e6b1a7a7a467154ef67a Mon Sep 17 00:00:00 2001 From: STL1te <1242562+STL1te@users.noreply.github.com> Date: Wed, 30 Sep 2026 11:15:29 +0300 Subject: [PATCH] fix(libc): the process starts in the root directory again Starting in app0 when the folder exists made the working directory, and with it the tests, depend on the layout next to the executable. The title opens its files by absolute /app0 paths, so the fallback was never used: the route to story mode runs the same without it. Co-Authored-By: Claude Fable 5.1 --- 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 5d0dc4028..5a3364b95 100644 --- a/core/libs/prx/libc/src/General.cpp +++ b/core/libs/prx/libc/src/General.cpp @@ -53,7 +53,7 @@ std::optional ResolveAlias(const std::string& guestPath) struct WorkingDirectory { std::mutex mutex; const std::filesystem::path root = std::filesystem::canonical(std::filesystem::current_path()); - std::filesystem::path current = std::filesystem::is_directory(root / "app0") ? root / "app0" : root; + std::filesystem::path current = root; }; WorkingDirectory& Directories() { static WorkingDirectory state; return state; } std::filesystem::path Resolve(WorkingDirectory& state, const char* path) {