diff --git a/pcsx2-gsrunner/Main.cpp b/pcsx2-gsrunner/Main.cpp index 2f7c22a88f..deff64c5b4 100644 --- a/pcsx2-gsrunner/Main.cpp +++ b/pcsx2-gsrunner/Main.cpp @@ -17,6 +17,7 @@ #include "common/Assertions.h" #include "common/Console.h" +#include "common/CrashHandler.h" #include "common/FileSystem.h" #include "common/MemorySettingsInterface.h" #include "common/Path.h" @@ -94,6 +95,8 @@ bool GSRunner::InitializeConfig() if (!EmuFolders::SetResourcesDirectory() || !EmuFolders::SetDataDirectory(nullptr)) return false; + CrashHandler::SetWriteDirectory(EmuFolders::DataRoot); + const char* error; if (!VMManager::PerformEarlyHardwareChecks(&error)) return false; @@ -675,6 +678,7 @@ void GSRunner::DumpStats() int main(int argc, char* argv[]) { + CrashHandler::Install(); GSRunner::InitializeConsole(); if (!GSRunner::InitializeConfig())