summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 b417624c9..c0b38bf0d 100644
--- a/src/core/hle/service/prepo/prepo.cpp
+++ b/src/core/hle/service/prepo/prepo.cpp
@@ -27,7 +27,7 @@ public:
27 {10105, nullptr, "SaveReportWithUser"}, 27 {10105, nullptr, "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"},
@@ -102,6 +102,15 @@ private:
102 rb.Push(RESULT_SUCCESS); 102 rb.Push(RESULT_SUCCESS);
103 } 103 }
104 104
105 void GetSystemSessionId(Kernel::HLERequestContext& ctx) {
106 LOG_WARNING(Service_PREPO, "(STUBBED) called");
107
108 constexpr u64 system_session_id = 0;
109 IPC::ResponseBuilder rb{ctx, 4};
110 rb.Push(RESULT_SUCCESS);
111 rb.Push(system_session_id);
112 }
113
105 void SaveSystemReport(Kernel::HLERequestContext& ctx) { 114 void SaveSystemReport(Kernel::HLERequestContext& ctx) {
106 IPC::RequestParser rp{ctx}; 115 IPC::RequestParser rp{ctx};
107 const auto title_id = rp.PopRaw<u64>(); 116 const auto title_id = rp.PopRaw<u64>();