Stub some IPrepoService calls

This commit is contained in:
Dima 2022-12-06 19:54:32 +03:00 committed by Billy Laws
parent efef67b92b
commit f3b2b4317e
2 changed files with 15 additions and 1 deletions

View File

@ -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 {};
}
}

View File

@ -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)
)
};
}