mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-24 02:55:11 +00:00
22 lines
No EOL
743 B
C#
22 lines
No EOL
743 B
C#
using Ryujinx.Common.Logging;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Caps
|
|
{
|
|
[Service("caps:su")] // 6.0.0+
|
|
class IScreenShotApplicationService : IpcService
|
|
{
|
|
public IScreenShotApplicationService(ServiceCtx context) { }
|
|
|
|
[Command(32)] // 7.0.0+
|
|
// SetShimLibraryVersion(pid, u64, nn::applet::AppletResourceUserId)
|
|
public ResultCode SetShimLibraryVersion(ServiceCtx context)
|
|
{
|
|
ulong shimLibraryVersion = context.RequestData.ReadUInt64();
|
|
ulong appletResourceUserId = context.RequestData.ReadUInt64();
|
|
|
|
Logger.Stub?.PrintStub(LogClass.ServiceCaps, new { shimLibraryVersion, appletResourceUserId });
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |