diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-30 07:19:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 07:19:59 +0100 |
commit | f67cfebada84072b9c433c4cffd51a35c868261c (patch) | |
tree | 07454df71a8332972e45e263e5477fe5e8cf4f82 /src/core | |
parent | Merge pull request #5847 from bunnei/update-dynarmic (diff) | |
parent | Stub GetSystemSessionId (diff) | |
download | yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.gz yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.bz2 yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.lz yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.xz yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.zst yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/prepo/prepo.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cpp index 6edd45455..86ecc5b97 100644 --- a/src/core/hle/service/prepo/prepo.cpp +++ b/src/core/hle/service/prepo/prepo.cpp @@ -27,7 +27,7 @@ public: {10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"}, {10200, nullptr, "RequestImmediateTransmission"}, {10300, nullptr, "GetTransmissionStatus"}, - {10400, nullptr, "GetSystemSessionId"}, + {10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"}, {20100, &PlayReport::SaveSystemReport, "SaveSystemReport"}, {20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"}, {20200, nullptr, "SetOperationMode"}, @@ -108,6 +108,15 @@ private: 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) { IPC::RequestParser rp{ctx}; const auto title_id = rp.PopRaw<u64>(); |