summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Morph2021-01-30 14:19:59 +0800
committerGravatar GitHub2021-01-30 14:19:59 +0800
commitf67cfebada84072b9c433c4cffd51a35c868261c (patch)
tree07454df71a8332972e45e263e5477fe5e8cf4f82 /src/core
parentMerge pull request #5847 from bunnei/update-dynarmic (diff)
parentStub GetSystemSessionId (diff)
downloadyuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.gz
yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.tar.xz
yuzu-f67cfebada84072b9c433c4cffd51a35c868261c.zip
Merge pull request #5838 from german77/prepostub
prepo: Stub GetSystemSessionId
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/prepo/prepo.cpp11
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:
27 {10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"}, 27 {10105, &PlayReport::SaveReportWithUser<Core::Reporter::PlayReportType::New>, "SaveReportWithUser"},
28 {10200, nullptr, "RequestImmediateTransmission"}, 28 {10200, nullptr, "RequestImmediateTransmission"},
29 {10300, nullptr, "GetTransmissionStatus"}, 29 {10300, nullptr, "GetTransmissionStatus"},
30 {10400, nullptr, "GetSystemSessionId"}, 30 {10400, &PlayReport::GetSystemSessionId, "GetSystemSessionId"},
31 {20100, &PlayReport::SaveSystemReport, "SaveSystemReport"}, 31 {20100, &PlayReport::SaveSystemReport, "SaveSystemReport"},
32 {20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"}, 32 {20101, &PlayReport::SaveSystemReportWithUser, "SaveSystemReportWithUser"},
33 {20200, nullptr, "SetOperationMode"}, 33 {20200, nullptr, "SetOperationMode"},
@@ -108,6 +108,15 @@ private:
108 rb.Push(RESULT_SUCCESS); 108 rb.Push(RESULT_SUCCESS);
109 } 109 }
110 110
111 void GetSystemSessionId(Kernel::HLERequestContext& ctx) {
112 LOG_WARNING(Service_PREPO, "(STUBBED) called");
113
114 constexpr u64 system_session_id = 0;
115 IPC::ResponseBuilder rb{ctx, 4};
116 rb.Push(RESULT_SUCCESS);
117 rb.Push(system_session_id);
118 }
119
111 void SaveSystemReport(Kernel::HLERequestContext& ctx) { 120 void SaveSystemReport(Kernel::HLERequestContext& ctx) {
112 IPC::RequestParser rp{ctx}; 121 IPC::RequestParser rp{ctx};
113 const auto title_id = rp.PopRaw<u64>(); 122 const auto title_id = rp.PopRaw<u64>();