MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Install

Method Install

common/CrashHandler.cpp:157–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157bool CrashHandler::Install()
158{
159 // load dbghelp at install/startup, that way we're not LoadLibrary()'ing after a crash
160 // .. because that probably wouldn't go down well.
161 HMODULE mod = StackWalker::LoadDbgHelpLibrary();
162 if (mod)
163 s_dbghelp_module.Adopt(mod);
164
165 SetUnhandledExceptionFilter(ExceptionHandler);
166 return true;
167}
168
169void CrashHandler::SetWriteDirectory(std::string_view dump_directory)
170{

Callers

nothing calls this directly

Calls 4

sigactionClass · 0.70
AdoptMethod · 0.45
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected