summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-31 21:26:00 +0100
committerGitHub <noreply@github.com>2021-01-31 21:26:00 +0100
commit1498ece2901c9acdf24bf32c11a7968992928577 (patch)
treee12a85b127da9adae284f5634f6c2aee875ef393
parentMerge pull request #5846 from ameerj/analog-join (diff)
parentprepo: Stub GetTransmissionStatus (diff)
downloadyuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar.gz
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar.bz2
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar.lz
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar.xz
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.tar.zst
yuzu-1498ece2901c9acdf24bf32c11a7968992928577.zip
-rw-r--r--src/core/hle/service/prepo/prepo.cpp21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp
index 86ecc5b97..d5b3b17a5 100644
--- a/src/core/hle/service/prepo/prepo.cpp
+++ b/src/core/hle/service/prepo/prepo.cpp
@@ -25,8 +25,8 @@ public:
{10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::Old2>, "SaveReportWithUserOld2"},
{10104, &PlayReport::SaveReport<Core::Reporter::PlayReportType::New>, "SaveReport"},
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
- {10200, nullptr, "RequestImmediateTransmission"},
- {10300, nullptr, "GetTransmissionStatus"},
+ {10200, &PlayReport::RequestImmediateTransmission, "RequestImmediateTransmission"},
+ {10300, &PlayReport::GetTransmissionStatus, "GetTransmissionStatus"},
{10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
@@ -108,6 +108,23 @@ private:
rb.Push(RESULT_SUCCESS);
}
+ void RequestImmediateTransmission(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_PREPO, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ }
+
+ void GetTransmissionStatus(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_PREPO, "(STUBBED) called");
+
+ constexpr s32 status = 0;
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push(status);
+ }
+
void GetSystemSessionId(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_PREPO, "(STUBBED) called");