mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 13:07:47 +00:00
Merge pull request #5860 from Morph1984/prepo-transmission-stub
prepo: Stub RequestImmediateTransmission and GetTransmissionStatus
This commit is contained in:
commit
1498ece290
1 changed files with 19 additions and 2 deletions
|
@ -25,8 +25,8 @@ public:
|
||||||
{10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::Old2>, "SaveReportWithUserOld2"},
|
{10103, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::Old2>, "SaveReportWithUserOld2"},
|
||||||
{10104, &PlayReport::SaveReport<Core::Reporter::PlayReportType::New>, "SaveReport"},
|
{10104, &PlayReport::SaveReport<Core::Reporter::PlayReportType::New>, "SaveReport"},
|
||||||
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
|
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
|
||||||
{10200, nullptr, "RequestImmediateTransmission"},
|
{10200, &PlayReport::RequestImmediateTransmission, "RequestImmediateTransmission"},
|
||||||
{10300, nullptr, "GetTransmissionStatus"},
|
{10300, &PlayReport::GetTransmissionStatus, "GetTransmissionStatus"},
|
||||||
{10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
|
{10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
|
||||||
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
|
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
|
||||||
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
|
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
|
||||||
|
@ -108,6 +108,23 @@ private:
|
||||||
rb.Push(RESULT_SUCCESS);
|
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) {
|
void GetSystemSessionId(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_WARNING(Service_PREPO, "(STUBBED) called");
|
LOG_WARNING(Service_PREPO, "(STUBBED) called");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue