mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Fix #15299: Breakpad crash dumps are created in game directory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user