summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-01-31 13:06:48 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-01-31 13:07:11 +0100
commit7d9465d47a78d3d7bf361d481a00fb9ac9572abc (patch)
tree5f87d8d878a66319074e5c2d866ce0ee0077aa55 /src/core/hle/service
parentprepo: Stub RequestImmediateTransmission (diff)
downloadyuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar.gz
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar.bz2
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar.lz
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar.xz
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.tar.zst
yuzu-7d9465d47a78d3d7bf361d481a00fb9ac9572abc.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/prepo/prepo.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp
index 14b19030a..d5b3b17a5 100644
--- a/src/core/hle/service/prepo/prepo.cpp
+++ b/src/core/hle/service/prepo/prepo.cpp
@@ -26,7 +26,7 @@ public:
{10104, &PlayReport::SaveReport<Core::Reporter::PlayReportType::New>, "SaveReport"},
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
{10200, &PlayReport::RequestImmediateTransmission, "RequestImmediateTransmission"},
- {10300, nullptr, "GetTransmissionStatus"},
+ {10300, &PlayReport::GetTransmissionStatus, "GetTransmissionStatus"},
{10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
@@ -115,6 +115,16 @@ private:
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");