diff options
author | bunnei <bunneidev@gmail.com> | 2017-05-02 00:09:15 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-05-24 19:16:22 -0400 |
commit | f3e14cae1e644b7e072796f2c26eab67b7a5d1b7 (patch) | |
tree | 27a0b689d399425f54e1559c64a8cf935ce81c5e /src/core/core.cpp | |
parent | a4760e939fe40138e6591093a3ec128ab0d29962 (diff) |
core: Keep track of telemetry for the current emulation session.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 881f1e93c5..450e7566d8 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"); } |