forked from eden-emu/eden
core: Add Reporter class to take/save reports
This commit is contained in:
parent
6f0ee45b5c
commit
2dde8f5cfe
5 changed files with 416 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue