mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
creport: Try to take screenshot of application crashes on 9.x+
This commit is contained in:
parent
93e0c9194d
commit
6ac1ff6f24
9 changed files with 201 additions and 23 deletions
|
@ -102,6 +102,9 @@ int main(int argc, char **argv) {
|
|||
/* Parse crashed PID. */
|
||||
os::ProcessId crashed_pid = creport::ParseProcessIdArgument(argv[0]);
|
||||
|
||||
/* Initialize the crash report. */
|
||||
g_crash_report.Initialize();
|
||||
|
||||
/* Try to debug the crashed process. */
|
||||
g_crash_report.BuildReport(crashed_pid, argv[1][0] == '1');
|
||||
if (!g_crash_report.IsComplete()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue