mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 06:14:17 +01:00
Stub some IApplicationFunctions funcs
This commit is contained in:
parent
a6f3aa3062
commit
150c1370c2
@ -105,6 +105,10 @@ namespace skyline::service::am {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::EnableApplicationCrashReport(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::InitializeApplicationCopyrightFrameBuffer(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
i32 width{request.Pop<i32>()};
|
||||
i32 height{request.Pop<i32>()};
|
||||
@ -146,6 +150,16 @@ namespace skyline::service::am {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::QueryApplicationPlayStatistics(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u32>(0);
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::QueryApplicationPlayStatisticsByUid(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u32>(0);
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IApplicationFunctions::GetPreviousProgramIndex(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<i32>(previousProgramIndex);
|
||||
return {};
|
||||
|
@ -79,6 +79,11 @@ namespace skyline::service::am {
|
||||
*/
|
||||
Result SetGamePlayRecordingState(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#EnableApplicationCrashReport
|
||||
*/
|
||||
Result EnableApplicationCrashReport(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief Uses the given transfer memory to setup memory for the screenshot copyright image
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#InitializeApplicationCopyrightFrameBuffer
|
||||
@ -97,6 +102,16 @@ namespace skyline::service::am {
|
||||
*/
|
||||
Result SetApplicationCopyrightVisibility(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#QueryApplicationPlayStatistics
|
||||
*/
|
||||
Result QueryApplicationPlayStatistics(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#QueryApplicationPlayStatisticsByUid
|
||||
*/
|
||||
Result QueryApplicationPlayStatisticsByUid(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief Gets the ProgramIndex of the Application which launched this title
|
||||
* @url https://switchbrew.org/wiki/Applet_Manager_services#GetPreviousProgramIndex
|
||||
@ -126,9 +141,12 @@ namespace skyline::service::am {
|
||||
SFUNC(0x32, IApplicationFunctions, GetPseudoDeviceId),
|
||||
SFUNC(0x42, IApplicationFunctions, InitializeGamePlayRecording),
|
||||
SFUNC(0x43, IApplicationFunctions, SetGamePlayRecordingState),
|
||||
SFUNC(0x5A, IApplicationFunctions, EnableApplicationCrashReport),
|
||||
SFUNC(0x64, IApplicationFunctions, InitializeApplicationCopyrightFrameBuffer),
|
||||
SFUNC(0x65, IApplicationFunctions, SetApplicationCopyrightImage),
|
||||
SFUNC(0x66, IApplicationFunctions, SetApplicationCopyrightVisibility),
|
||||
SFUNC(0x6E, IApplicationFunctions, QueryApplicationPlayStatistics),
|
||||
SFUNC(0x6F, IApplicationFunctions, QueryApplicationPlayStatisticsByUid),
|
||||
SFUNC(0x7B, IApplicationFunctions, GetPreviousProgramIndex),
|
||||
SFUNC(0x82, IApplicationFunctions, GetGpuErrorDetectedSystemEvent),
|
||||
SFUNC(0x8C, IApplicationFunctions, GetFriendInvitationStorageChannelEvent),
|
||||
|
Loading…
Reference in New Issue
Block a user