mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-17 22:25:37 +00:00
Qt: Don't set working directory on startup
Not needed now we have relative paths for cards etc.
This commit is contained in:
parent
4faa49d42c
commit
f5495adb7d
|
@ -231,9 +231,6 @@ bool QtHost::SetCriticalFolders()
|
||||||
// Write crash dumps to the data directory, since that'll be accessible for certain.
|
// Write crash dumps to the data directory, since that'll be accessible for certain.
|
||||||
CrashHandler::SetWriteDirectory(EmuFolders::DataRoot);
|
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
|
// the resources directory should exist, bail out if not
|
||||||
if (!FileSystem::DirectoryExists(EmuFolders::Resources.c_str()))
|
if (!FileSystem::DirectoryExists(EmuFolders::Resources.c_str()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue