summaryrefslogtreecommitdiffstats
path: root/src/core/reporter.h
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-07-07 03:26:40 +0200
committerGitHub <noreply@github.com>2019-07-07 03:26:40 +0200
commit9e689a81f8a6ea543ed56f2dbd90641c1b6502a9 (patch)
tree34123048f2531d46d213a1e1c2ea78648be0fdf0 /src/core/reporter.h
parentMerge pull request #2677 from lioncash/assert (diff)
parentcore/reporter: Allow moves into SaveToFile() (diff)
downloadyuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar.gz
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar.bz2
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar.lz
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar.xz
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.tar.zst
yuzu-9e689a81f8a6ea543ed56f2dbd90641c1b6502a9.zip
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r--src/core/reporter.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 3de19c0f7..4266ca550 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -4,7 +4,9 @@
#pragma once
+#include <array>
#include <optional>
+#include <string>
#include <vector>
#include "common/common_types.h"
@@ -16,9 +18,11 @@ class HLERequestContext;
namespace Core {
+class System;
+
class Reporter {
public:
- explicit Reporter(Core::System& system);
+ explicit Reporter(System& system);
~Reporter();
void SaveCrashReport(u64 title_id, ResultCode result, u64 set_flags, u64 entry_point, u64 sp,
@@ -50,7 +54,7 @@ public:
private:
bool IsReportingEnabled() const;
- Core::System& system;
+ System& system;
};
} // namespace Core