GSRunner: Enable the crash dump writer

This commit is contained in:
Stenzek 2024-06-14 00:44:04 +10:00 committed by Connor McLaughlin
parent affbcfe135
commit ccb23868e5
1 changed files with 4 additions and 0 deletions

View File

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