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 | e65f4cc882a43f83cbc694b8f675db36c4eb1e4c (patch) | |
| tree | 27a0b689d399425f54e1559c64a8cf935ce81c5e /src/core/core.cpp | |
| parent | f9a850bb59a3c0c6982b43e13b01be95f3370a71 (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"); } |
