creport: Solidify main() logic.

This commit is contained in:
Michael Scire
2018-06-25 01:58:44 -06:00
parent 851d21a276
commit 4e7fcc1a50
3 changed files with 49 additions and 7 deletions

View File

@@ -2,6 +2,10 @@
#include "creport_crash_report.hpp"
#include "creport_debug_types.hpp"
void CrashReport::SaveReport() {
/* TODO: Save the report to the SD card. */
}
void CrashReport::BuildReport(u64 pid, bool has_extra_info) {
this->has_extra_info = has_extra_info;
if (OpenProcess(pid)) {