diff options
| author | 2017-05-02 00:09:15 -0400 | |
|---|---|---|
| committer | 2017-05-24 19:16:22 -0400 | |
| commit | f3e14cae1e644b7e072796f2c26eab67b7a5d1b7 (patch) | |
| tree | 27a0b689d399425f54e1559c64a8cf935ce81c5e /src/core/core.cpp | |
| parent | common: Add a generic interface for logging telemetry fields. (diff) | |
| download | yuzu-f3e14cae1e644b7e072796f2c26eab67b7a5d1b7.tar.gz yuzu-f3e14cae1e644b7e072796f2c26eab67b7a5d1b7.tar.xz yuzu-f3e14cae1e644b7e072796f2c26eab67b7a5d1b7.zip | |
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 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) { | |||
| 132 | cpu_core = std::make_unique<ARM_DynCom>(USER32MODE); | 132 | cpu_core = std::make_unique<ARM_DynCom>(USER32MODE); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | telemetry_session = std::make_unique<Core::TelemetrySession>(); | ||
| 136 | |||
| 135 | CoreTiming::Init(); | 137 | CoreTiming::Init(); |
| 136 | HW::Init(); | 138 | HW::Init(); |
| 137 | Kernel::Init(system_mode); | 139 | Kernel::Init(system_mode); |
| @@ -162,6 +164,7 @@ void System::Shutdown() { | |||
| 162 | CoreTiming::Shutdown(); | 164 | CoreTiming::Shutdown(); |
| 163 | cpu_core = nullptr; | 165 | cpu_core = nullptr; |
| 164 | app_loader = nullptr; | 166 | app_loader = nullptr; |
| 167 | telemetry_session = nullptr; | ||
| 165 | 168 | ||
| 166 | LOG_DEBUG(Core, "Shutdown OK"); | 169 | LOG_DEBUG(Core, "Shutdown OK"); |
| 167 | } | 170 | } |