From f5495adb7dbfd7f5a92c7f855630b76b2fb8b2d1 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 10 Aug 2022 15:23:21 +1000 Subject: [PATCH] Qt: Don't set working directory on startup Not needed now we have relative paths for cards etc. --- src/duckstation-qt/qthost.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index c7e4229c0..8ca07e41f 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -231,9 +231,6 @@ bool QtHost::SetCriticalFolders() // Write crash dumps to the data directory, since that'll be accessible for certain. CrashHandler::SetWriteDirectory(EmuFolders::DataRoot); - if (!FileSystem::SetWorkingDirectory(EmuFolders::DataRoot.c_str())) - Log_ErrorPrintf("Failed to set working directory to '%s'", EmuFolders::DataRoot.c_str()); - // the resources directory should exist, bail out if not if (!FileSystem::DirectoryExists(EmuFolders::Resources.c_str())) {