We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe3718 commit 77bbe3cCopy full SHA for 77bbe3c
src/xrCore/xrDebug.cpp
@@ -334,6 +334,13 @@ void WINAPI xrDebug::PreErrorHandler(INT_PTR)
334
BT_AddLogFile(temp);
335
if (*BugReportFile)
336
BT_AddLogFile(BugReportFile);
337
+
338
+ string_path dumpPath;
339
+ if (FS.path_exist("$app_data_root$"))
340
+ FS.update_path(dumpPath, "$app_data_root$", dumpPath);
341
+ xr_strcat(dumpPath, "reports");
342
343
+ BT_SetReportFilePath(dumpPath);
344
BT_SaveSnapshot(nullptr);
345
}
346
0 commit comments