mirror of https://github.com/PCSX2/pcsx2.git
GSRunner: Enable the crash dump writer
This commit is contained in:
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())
|
||||
|
|
Loading…
Reference in New Issue