From f3b2b4317e4f0b567b7a8c6caf47c72f8077c18e Mon Sep 17 00:00:00 2001 From: Dima Date: Tue, 6 Dec 2022 19:54:32 +0300 Subject: [PATCH] Stub some IPrepoService calls --- app/src/main/cpp/skyline/services/prepo/IPrepoService.cpp | 8 ++++++++ app/src/main/cpp/skyline/services/prepo/IPrepoService.h | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/services/prepo/IPrepoService.cpp b/app/src/main/cpp/skyline/services/prepo/IPrepoService.cpp index 312ad5d4..141f579d 100644 --- a/app/src/main/cpp/skyline/services/prepo/IPrepoService.cpp +++ b/app/src/main/cpp/skyline/services/prepo/IPrepoService.cpp @@ -6,7 +6,15 @@ namespace skyline::service::prepo { IPrepoService::IPrepoService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {} + Result IPrepoService::SaveReportWithUserOld (type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return {}; + } + Result IPrepoService::SaveReportWithUser(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { return {}; } + + Result IPrepoService::RequestImmediateTransmission(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/prepo/IPrepoService.h b/app/src/main/cpp/skyline/services/prepo/IPrepoService.h index 3b1cf9fb..08abb96d 100644 --- a/app/src/main/cpp/skyline/services/prepo/IPrepoService.h +++ b/app/src/main/cpp/skyline/services/prepo/IPrepoService.h @@ -17,10 +17,16 @@ namespace skyline::service::prepo { /** * @brief Saves a play report for the given user */ + Result SaveReportWithUserOld (type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + Result SaveReportWithUser(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + Result RequestImmediateTransmission(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + SERVICE_DECL( - SFUNC(0x2775, IPrepoService, SaveReportWithUser) + SFUNC(0x2775, IPrepoService, SaveReportWithUserOld), + SFUNC(0x2779, IPrepoService, SaveReportWithUser), + SFUNC(0x27D8, IPrepoService, RequestImmediateTransmission) ) }; }