summaryrefslogtreecommitdiff
path: root/src/core/reporter.cpp
diff options
context:
space:
mode:
authorGravatar FearlessTobi2024-01-18 22:39:15 +0100
committerGravatar Liam2024-01-25 16:42:06 -0500
commit54372fdff5fd982b4ac08315abcd42d81683b00d (patch)
tree3c9ad14c965a00a0fb12bfe850c2b5373e4099a0 /src/core/reporter.cpp
parentfs/errors: Unify naming of result codes (diff)
downloadyuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.gz
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.tar.xz
yuzu-54372fdff5fd982b4ac08315abcd42d81683b00d.zip
result: Make fully constexpr, add ON_RESULT_INCLUDED
Diffstat (limited to 'src/core/reporter.cpp')
-rw-r--r--src/core/reporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index dc3883528..1a0138697 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -68,8 +68,8 @@ json GetReportCommonData(u64 title_id, Result result, const std::string& timesta
68 auto out = json{ 68 auto out = json{
69 {"title_id", fmt::format("{:016X}", title_id)}, 69 {"title_id", fmt::format("{:016X}", title_id)},
70 {"result_raw", fmt::format("{:08X}", result.raw)}, 70 {"result_raw", fmt::format("{:08X}", result.raw)},
71 {"result_module", fmt::format("{:08X}", static_cast<u32>(result.module.Value()))}, 71 {"result_module", fmt::format("{:08X}", static_cast<u32>(result.GetModule()))},
72 {"result_description", fmt::format("{:08X}", result.description.Value())}, 72 {"result_description", fmt::format("{:08X}", result.GetDescription())},
73 {"timestamp", timestamp}, 73 {"timestamp", timestamp},
74 }; 74 };
75 75