creport: Further skeleton the CrashReport object.

This commit is contained in:
Michael Scire committed 2018-06-25 00:42:26 -06:00
1 parent af4485d533
commit 6ffc9bd8e0
3 files changed
+47 -4

No files matched your search

@@ -0,0 +1,10 @@
#include <switch.h>
#include "creport_crash_report.hpp"
void CrashReport::BuildReport(u64 pid, bool has_extra_info) {
this->has_extra_info = has_extra_info;
if (OpenProcess(pid)) {
/* TODO: Actually generate report... */
Close();
}
}