diff --git a/src/openrct2/platform/Crash.cpp b/src/openrct2/platform/Crash.cpp index 69076260b0..1781a4bccc 100644 --- a/src/openrct2/platform/Crash.cpp +++ b/src/openrct2/platform/Crash.cpp @@ -324,9 +324,9 @@ static bool OnCrash( static std::wstring GetDumpDirectory() { auto env = GetContext()->GetPlatformEnvironment(); - auto crashPath = env->GetDirectoryPath(DIRBASE::OPENRCT2, DIRID::CRASH); + auto crashPath = env->GetDirectoryPath(DIRBASE::USER, DIRID::CRASH); - auto result = String::ToWideChar(crashPath.c_str()); + auto result = String::ToWideChar(crashPath); return result; }