Qt: Don't set working directory on startup

Not needed now we have relative paths for cards etc.
This commit is contained in:
Connor McLaughlin 2022-08-10 15:23:21 +10:00
parent 4faa49d42c
commit f5495adb7d

View file

@ -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()))
{