diff options
| author | 2018-07-02 10:13:26 -0600 | |
|---|---|---|
| committer | 2018-07-02 21:45:47 -0400 | |
| commit | 638956aa81de255bf4bbd4e69a717eabf4ceadb9 (patch) | |
| tree | 5783dda790575e047fa757d8c56e11f3fffe7646 /src/core/telemetry_session.cpp | |
| parent | Merge pull request #608 from Subv/depth (diff) | |
| download | yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.gz yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.xz yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.zip | |
Rename logging macro back to LOG_*
Diffstat (limited to 'src/core/telemetry_session.cpp')
| -rw-r--r-- | src/core/telemetry_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index 270d68222..b9a603df3 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp | |||
| @@ -42,14 +42,14 @@ u64 GetTelemetryId() { | |||
| 42 | if (FileUtil::Exists(filename)) { | 42 | if (FileUtil::Exists(filename)) { |
| 43 | FileUtil::IOFile file(filename, "rb"); | 43 | FileUtil::IOFile file(filename, "rb"); |
| 44 | if (!file.IsOpen()) { | 44 | if (!file.IsOpen()) { |
| 45 | NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); | 45 | LOG_ERROR(Core, "failed to open telemetry_id: {}", filename); |
| 46 | return {}; | 46 | return {}; |
| 47 | } | 47 | } |
| 48 | file.ReadBytes(&telemetry_id, sizeof(u64)); | 48 | file.ReadBytes(&telemetry_id, sizeof(u64)); |
| 49 | } else { | 49 | } else { |
| 50 | FileUtil::IOFile file(filename, "wb"); | 50 | FileUtil::IOFile file(filename, "wb"); |
| 51 | if (!file.IsOpen()) { | 51 | if (!file.IsOpen()) { |
| 52 | NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); | 52 | LOG_ERROR(Core, "failed to open telemetry_id: {}", filename); |
| 53 | return {}; | 53 | return {}; |
| 54 | } | 54 | } |
| 55 | telemetry_id = GenerateTelemetryId(); | 55 | telemetry_id = GenerateTelemetryId(); |
| @@ -65,7 +65,7 @@ u64 RegenerateTelemetryId() { | |||
| 65 | 65 | ||
| 66 | FileUtil::IOFile file(filename, "wb"); | 66 | FileUtil::IOFile file(filename, "wb"); |
| 67 | if (!file.IsOpen()) { | 67 | if (!file.IsOpen()) { |
| 68 | NGLOG_ERROR(Core, "failed to open telemetry_id: {}", filename); | 68 | LOG_ERROR(Core, "failed to open telemetry_id: {}", filename); |
| 69 | return {}; | 69 | return {}; |
| 70 | } | 70 | } |
| 71 | file.WriteBytes(&new_telemetry_id, sizeof(u64)); | 71 | file.WriteBytes(&new_telemetry_id, sizeof(u64)); |