diff options
author | Lioncash <mathew1800@gmail.com> | 2020-04-20 21:18:23 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-04-20 21:53:49 +0200 |
commit | 99eaa2e6f2e04a761e2bc3f92b071352ec88a71f (patch) | |
tree | a15750e52535143b26232198090829b0262bf3e6 /src/core/hle/service/prepo/prepo.cpp | |
parent | Merge pull request #3739 from MerryMage/disable_cpu_opt (diff) | |
download | yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar.gz yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar.bz2 yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar.lz yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar.xz yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.tar.zst yuzu-99eaa2e6f2e04a761e2bc3f92b071352ec88a71f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/prepo/prepo.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp index 8f1be0e48..14309c679 100644 --- a/src/core/hle/service/prepo/prepo.cpp +++ b/src/core/hle/service/prepo/prepo.cpp @@ -21,8 +21,10 @@ public: static const FunctionInfo functions[] = { {10100, &PlayReport::SaveReport<Core::Reporter::PlayReportType::Old>, "SaveReportOld"}, {10101, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::Old>, "SaveReportWithUserOld"}, - {10102, &PlayReport::SaveReport<Core::Reporter::PlayReportType::New>, "SaveReport"}, - {10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"}, + {10102, &PlayReport::SaveReport<Core::Reporter::PlayReportType::Old2>, "SaveReportOld2"}, + {10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::Old2>, "SaveReportWithUserOld2"}, + {10104, nullptr, "SaveReport"}, + {10105, nullptr, "SaveReportWithUser"}, {10200, nullptr, "RequestImmediateTransmission"}, {10300, nullptr, "GetTransmissionStatus"}, {10400, nullptr, "GetSystemSessionId"}, @@ -35,8 +37,10 @@ public: {30400, nullptr, "GetStatistics"}, {30401, nullptr, "GetThroughputHistory"}, {30500, nullptr, "GetLastUploadError"}, + {30600, nullptr, "GetApplicationUploadSummary"}, {40100, nullptr, "IsUserAgreementCheckEnabled"}, {40101, nullptr, "SetUserAgreementCheckEnabled"}, + {50100, nullptr, "ReadAllApplicationReportFiles"}, {90100, nullptr, "ReadAllReportFiles"}, }; // clang-format on @@ -51,7 +55,7 @@ private: const auto process_id = rp.PopRaw<u64>(); std::vector<std::vector<u8>> data{ctx.ReadBuffer(0)}; - if (Type == Core::Reporter::PlayReportType::New) { + if constexpr (Type == Core::Reporter::PlayReportType::Old2) { data.emplace_back(ctx.ReadBuffer(1)); } @@ -71,7 +75,7 @@ private: const auto user_id = rp.PopRaw<u128>(); const auto process_id = rp.PopRaw<u64>(); std::vector<std::vector<u8>> data{ctx.ReadBuffer(0)}; - if (Type == Core::Reporter::PlayReportType::New) { + if constexpr (Type == Core::Reporter::PlayReportType::Old2) { data.emplace_back(ctx.ReadBuffer(1)); } |