summaryrefslogtreecommitdiff
path: root/src/core/reporter.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-02 15:29:09 -0700
committerGitHub <noreply@github.com>2021-06-02 15:29:09 -0700
commit4ea171fa5e50723d50b57b26aaaca2fac30eea57 (patch)
treeef2f0869252f59b0b8aeb62a48e2a233c0f94664 /src/core/reporter.cpp
parentd6006e9a3f0ea2b9fca17174542b5aba131dd294 (diff)
parenta0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (diff)
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.cpp6
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
json out;
out["yuzu_version"] = GetYuzuVersionData();
- out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp);
+ out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp);
out["processor_state"] = GetProcessorStateDataAuto(system);
out["backtrace"] = GetBacktraceData(system);
@@ -322,7 +322,7 @@ void Reporter::SavePlayReport(PlayReportType type, u64 title_id, std::vector<std
json out;
out["yuzu_version"] = GetYuzuVersionData();
- out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp, user_id);
+ out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp, user_id);
auto data_out = json::array();
for (const auto& d : data) {
@@ -372,7 +372,7 @@ void Reporter::SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode,
json out;
out["yuzu_version"] = GetYuzuVersionData();
- out["report_common"] = GetReportCommonData(title_id, RESULT_SUCCESS, timestamp);
+ out["report_common"] = GetReportCommonData(title_id, ResultSuccess, timestamp);
out["log_mode"] = fmt::format("{:08X}", static_cast<u32>(log_mode));
out["log_message"] = std::move(log_message);