diff options
Diffstat (limited to 'src/core/reporter.h')
| -rw-r--r-- | src/core/reporter.h | 8 |
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 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <array> | ||
| 7 | #include <optional> | 8 | #include <optional> |
| 9 | #include <string> | ||
| 8 | #include <vector> | 10 | #include <vector> |
| 9 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 10 | 12 | ||
| @@ -16,9 +18,11 @@ class HLERequestContext; | |||
| 16 | 18 | ||
| 17 | namespace Core { | 19 | namespace Core { |
| 18 | 20 | ||
| 21 | class System; | ||
| 22 | |||
| 19 | class Reporter { | 23 | class Reporter { |
| 20 | public: | 24 | public: |
| 21 | explicit Reporter(Core::System& system); | 25 | explicit Reporter(System& system); |
| 22 | ~Reporter(); | 26 | ~Reporter(); |
| 23 | 27 | ||
| 24 | void SaveCrashReport(u64 title_id, ResultCode result, u64 set_flags, u64 entry_point, u64 sp, | 28 | void SaveCrashReport(u64 title_id, ResultCode result, u64 set_flags, u64 entry_point, u64 sp, |
| @@ -50,7 +54,7 @@ public: | |||
| 50 | private: | 54 | private: |
| 51 | bool IsReportingEnabled() const; | 55 | bool IsReportingEnabled() const; |
| 52 | 56 | ||
| 53 | Core::System& system; | 57 | System& system; |
| 54 | }; | 58 | }; |
| 55 | 59 | ||
| 56 | } // namespace Core | 60 | } // namespace Core |