mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #5838 from german77/prepostub
prepo: Stub GetSystemSessionId
This commit is contained in:
commit
f67cfebada
1 changed files with 10 additions and 1 deletions
|
@ -27,7 +27,7 @@ public:
|
||||||
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
|
{10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
|
||||||
{10200, nullptr, "RequestImmediateTransmission"},
|
{10200, nullptr, "RequestImmediateTransmission"},
|
||||||
{10300, nullptr, "GetTransmissionStatus"},
|
{10300, nullptr, "GetTransmissionStatus"},
|
||||||
{10400, nullptr, "GetSystemSessionId"},
|
{10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
|
||||||
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
|
{20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
|
||||||
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
|
{20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
|
||||||
{20200, nullptr, "SetOperationMode"},
|
{20200, nullptr, "SetOperationMode"},
|
||||||
|
@ -108,6 +108,15 @@ private:
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GetSystemSessionId(Kernel::HLERequestContext& ctx) {
|
||||||
|
LOG_WARNING(Service_PREPO, "(STUBBED) called");
|
||||||
|
|
||||||
|
constexpr u64 system_session_id = 0;
|
||||||
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
rb.Push(system_session_id);
|
||||||
|
}
|
||||||
|
|
||||||
void SaveSystemReport(Kernel::HLERequestContext& ctx) {
|
void SaveSystemReport(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
const auto title_id = rp.PopRaw<u64>();
|
const auto title_id = rp.PopRaw<u64>();
|
||||||
|
|
Loading…
Reference in a new issue