Fatal: save auto-debug info to SD card.

This commit is contained in:
Michael Scire committed 2018-11-14 14:13:31 -08:00
1 parent 962fa0a690
commit 8054b2d219
8 files changed
+151 -6

No files matched your search

@@ -23,6 +23,10 @@ class ErrorReportTask : public IFatalTask {
private:
bool create_report;
Event *erpt_event;
private:
void EnsureReportDirectories();
bool GetCurrentTime(u64 *out);
void SaveReportToSdCard();
public:
ErrorReportTask(FatalThrowContext *ctx, u64 title_id, bool error_report, Event *evt) : IFatalTask(ctx, title_id), create_report(error_report), erpt_event(evt) { }
virtual Result Run() override;