From 3d7be14a172aba95f8eb6fb1603d0e09bdd4c316 Mon Sep 17 00:00:00 2001 From: Dario Date: Sat, 3 May 2025 19:29:50 -0300 Subject: [PATCH] Temporarily disable current working dir code. --- src/main/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/main.cpp b/src/main/main.cpp index 720c8aa..ad5331a 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -601,13 +601,15 @@ int main(int argc, char** argv) { // Force wasapi on Windows, as there seems to be some issue with sample queueing with directsound currently. SDL_setenv("SDL_AUDIODRIVER", "wasapi", true); #endif - + +#if 0 #if defined(__linux__) && defined(RECOMP_FLATPAK) // When using Flatpak, applications tend to launch from the home directory by default. // Mods might use the current working directory to store the data, so we switch it to a directory // with persistent data storage and write permissions under Flatpak to ensure it works. std::error_code ec; std::filesystem::current_path("/var/data", ec); +#endif #endif // Initialize SDL audio and set the output frequency.