mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
GSRunner: Enable the crash dump writer
This commit is contained in:
committed by
Connor McLaughlin
parent
affbcfe135
commit
ccb23868e5
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user