diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-05-17 21:45:56 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-05-25 16:09:20 -0400 |
commit | 2dde8f5cfe81648d05d60285ab5b17a6f61c486e (patch) | |
tree | 7d9c44658779ad92d66c54069ec1a3fa4d437aed /src/core/core.cpp | |
parent | 6f0ee45b5c3d62cbd74ae45bd56ade8d2fbbb6d2 (diff) |
core: Add Reporter class to take/save reports
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 96ba6a569d..db4c067df1 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -34,6 +34,7 @@ #include "core/hle/service/sm/sm.h" #include "core/loader/loader.h" #include "core/perf_stats.h" +#include "core/reporter.h" #include "core/settings.h" #include "core/telemetry_session.h" #include "file_sys/cheat_engine.h" @@ -271,6 +272,7 @@ struct System::Impl { std::unique_ptr<Core::TelemetrySession> telemetry_session; std::map<VAddr, std::string, std::greater<>> modules; + Reporter reporter; ResultStatus status = ResultStatus::Success; std::string status_details = ""; @@ -519,6 +521,10 @@ const std::map<VAddr, std::string, std::greater<>>& System::GetRegisteredNSOModu return impl->modules; } +const Reporter& System::GetReporter() const { + return impl->reporter; +} + System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { return impl->Init(*this, emu_window); } |