diff options
| author | 2021-06-02 15:29:09 -0700 | |
|---|---|---|
| committer | 2021-06-02 15:29:09 -0700 | |
| commit | 4ea171fa5e50723d50b57b26aaaca2fac30eea57 (patch) | |
| tree | ef2f0869252f59b0b8aeb62a48e2a233c0f94664 /src/core/reporter.cpp | |
| parent | Merge pull request #6403 from Kewlan/game-list-for-loop-optimization (diff) | |
| parent | general: Replace RESULT_UNKNOWN with ResultUnknown (diff) | |
| download | yuzu-4ea171fa5e50723d50b57b26aaaca2fac30eea57.tar.gz yuzu-4ea171fa5e50723d50b57b26aaaca2fac30eea57.tar.xz yuzu-4ea171fa5e50723d50b57b26aaaca2fac30eea57.zip | |
Merge pull request #6308 from Morph1984/result
general: Replace RESULT_NAME with ResultName
Diffstat (limited to 'src/core/reporter.cpp')
| -rw-r--r-- | src/core/reporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index a9596fe4d..ec2a16e62 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp | |||
| @@ -144,7 +144,7 @@ json GetFullDataAuto(const std::string& timestamp, u64 title_id, Core::System& s | |||
| 144 | json out; | 144 | json out; |
| 145 | 145 | ||
| 146 | out["yuzu_version"] = GetYuzuVersionData(); | 146 | out["yuzu_version"] = GetYuzuVersionData(); |
| 147 | out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp); | 147 | out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp); |
| 148 | out["processor_state"] = GetProcessorStateDataAuto(system); | 148 | out["processor_state"] = GetProcessorStateDataAuto(system); |
| 149 | out["backtrace"] = GetBacktraceData(system); | 149 | out["backtrace"] = GetBacktraceData(system); |
| 150 | 150 | ||
| @@ -322,7 +322,7 @@ void Reporter::SavePlayReport(PlayReportType type, u64 title_id, std::vector<std | |||
| 322 | json out; | 322 | json out; |
| 323 | 323 | ||
| 324 | out["yuzu_version"] = GetYuzuVersionData(); | 324 | out["yuzu_version"] = GetYuzuVersionData(); |
| 325 | out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp, user_id); | 325 | out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp, user_id); |
| 326 | 326 | ||
| 327 | auto data_out = json::array(); | 327 | auto data_out = json::array(); |
| 328 | for (const auto& d : data) { | 328 | for (const auto& d : data) { |
| @@ -372,7 +372,7 @@ void Reporter::SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode, | |||
| 372 | json out; | 372 | json out; |
| 373 | 373 | ||
| 374 | out["yuzu_version"] = GetYuzuVersionData(); | 374 | out["yuzu_version"] = GetYuzuVersionData(); |
| 375 | out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp); | 375 | out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp); |
| 376 | 376 | ||
| 377 | out["log_mode"] = fmt::format("{:08X}", static_cast<u32>(log_mode)); | 377 | out["log_mode"] = fmt::format("{:08X}", static_cast<u32>(log_mode)); |
| 378 | out["log_message"] = std::move(log_message); | 378 | out["log_message"] = std::move(log_message); |