summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2021-01-28 06:08:52 +0100
committergerman <german@thesoftwareartisans.com>2021-01-30 01:41:28 +0100
commit9150b8972eca438a7c8418da79509d74ed8b230d (patch)
tree412af208e57501bdbc8977657902d2badcb3981f /src/core/hle/service
parentMerge pull request #5786 from ReinUsesLisp/glsl-cbuf (diff)
downloadyuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar.gz
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar.bz2
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar.lz
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar.xz
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.tar.zst
yuzu-9150b8972eca438a7c8418da79509d74ed8b230d.zip
Diffstat (limited to 'src/core/hle/service')
-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:
{10105, nullptr, "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"},
@@ -102,6 +102,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>();