2020-09-19 23:32:48 -04:00
|
|
|
|
using Ryujinx.Common.Logging;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Caps
|
2019-09-18 20:45:11 -04:00
|
|
|
|
{
|
|
|
|
|
[Service("caps:su")] // 6.0.0+
|
|
|
|
|
class IScreenShotApplicationService : IpcService
|
|
|
|
|
{
|
|
|
|
|
public IScreenShotApplicationService(ServiceCtx context) { }
|
2020-09-19 23:32:48 -04:00
|
|
|
|
|
|
|
|
|
[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;
|
|
|
|
|
}
|
2019-09-18 20:45:11 -04:00
|
|
|
|
}
|
|
|
|
|
}
|