summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-18 03:45:56 +0200
committerZach Hilman <zachhilman@gmail.com>2019-05-25 22:09:20 +0200
commit2dde8f5cfe81648d05d60285ab5b17a6f61c486e (patch)
tree7d9c44658779ad92d66c54069ec1a3fa4d437aed /src/core/core.cpp
parentqt: Make UI option for 'Reporting Services' temporary (diff)
downloadyuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar.gz
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar.bz2
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar.lz
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar.xz
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.tar.zst
yuzu-2dde8f5cfe81648d05d60285ab5b17a6f61c486e.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp6
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 @@
#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);
}