summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-05-24 19:33:54 -0400
committerGitHub <noreply@github.com>2017-05-24 19:33:54 -0400
commit634229ff45f0780567d00114289a3c3ca7b3f424 (patch)
tree2278bd436cd8887c0f35a6ef8fcb5fcb68adaae2 /src/core/core.cpp
parentc291db72e74fa1514bfe6706b8a2004bbe2b31e7 (diff)
parent120b00fb1aee96aec42b1647ece98dcc3e192139 (diff)
Merge pull request #2683 from bunnei/telemetry-framework
Telemetry framework Part 1
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 881f1e93c..450e7566d 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -132,6 +132,8 @@ System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
cpu_core = std::make_unique<ARM_DynCom>(USER32MODE);
}
+ telemetry_session = std::make_unique<Core::TelemetrySession>();
+
CoreTiming::Init();
HW::Init();
Kernel::Init(system_mode);
@@ -162,6 +164,7 @@ void System::Shutdown() {
CoreTiming::Shutdown();
cpu_core = nullptr;
app_loader = nullptr;
+ telemetry_session = nullptr;
LOG_DEBUG(Core, "Shutdown OK");
}