diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 96ba6a569..db4c067df 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | #include "core/hle/service/sm/sm.h" | 34 | #include "core/hle/service/sm/sm.h" |
| 35 | #include "core/loader/loader.h" | 35 | #include "core/loader/loader.h" |
| 36 | #include "core/perf_stats.h" | 36 | #include "core/perf_stats.h" |
| 37 | #include "core/reporter.h" | ||
| 37 | #include "core/settings.h" | 38 | #include "core/settings.h" |
| 38 | #include "core/telemetry_session.h" | 39 | #include "core/telemetry_session.h" |
| 39 | #include "file_sys/cheat_engine.h" | 40 | #include "file_sys/cheat_engine.h" |
| @@ -271,6 +272,7 @@ struct System::Impl { | |||
| 271 | std::unique_ptr<Core::TelemetrySession> telemetry_session; | 272 | std::unique_ptr<Core::TelemetrySession> telemetry_session; |
| 272 | 273 | ||
| 273 | std::map<VAddr, std::string, std::greater<>> modules; | 274 | std::map<VAddr, std::string, std::greater<>> modules; |
| 275 | Reporter reporter; | ||
| 274 | 276 | ||
| 275 | ResultStatus status = ResultStatus::Success; | 277 | ResultStatus status = ResultStatus::Success; |
| 276 | std::string status_details = ""; | 278 | std::string status_details = ""; |
| @@ -519,6 +521,10 @@ const std::map<VAddr, std::string, std::greater<>>& System::GetRegisteredNSOModu | |||
| 519 | return impl->modules; | 521 | return impl->modules; |
| 520 | } | 522 | } |
| 521 | 523 | ||
| 524 | const Reporter& System::GetReporter() const { | ||
| 525 | return impl->reporter; | ||
| 526 | } | ||
| 527 | |||
| 522 | System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { | 528 | System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { |
| 523 | return impl->Init(*this, emu_window); | 529 | return impl->Init(*this, emu_window); |
| 524 | } | 530 | } |