From 2394807b423f2d75ef57a3c6be8059f588b36613 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 31 Jan 2021 07:04:35 -0500 Subject: [PATCH] prepo: Stub RequestImmediateTransmission - Used by Animal Crossing: New Horizons --- src/core/hle/service/prepo/prepo.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp index 86ecc5b975..14b19030a2 100644 --- a/src/core/hle/service/prepo/prepo.cpp +++ b/src/core/hle/service/prepo/prepo.cpp @@ -25,7 +25,7 @@ public: {10103, &PlayReport::SaveReportWithUser, "SaveReportWithUserOld2"}, {10104, &PlayReport::SaveReport, "SaveReport"}, {10105, &PlayReport::SaveReportWithUser, "SaveReportWithUser"}, - {10200, nullptr, "RequestImmediateTransmission"}, + {10200, &PlayReport::RequestImmediateTransmission, "RequestImmediateTransmission"}, {10300, nullptr, "GetTransmissionStatus"}, {10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"}, {20100, &PlayReport::SaveSystemReport, "SaveSystemReport"}, @@ -108,6 +108,13 @@ 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 GetSystemSessionId(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_PREPO, "(STUBBED) called");