IScreenShotApplicationService.cs 743 B

12345678910111213141516171819202122
  1. using Ryujinx.Common.Logging;
  2. namespace Ryujinx.HLE.HOS.Services.Caps
  3. {
  4. [Service("caps:su")] // 6.0.0+
  5. class IScreenShotApplicationService : IpcService
  6. {
  7. public IScreenShotApplicationService(ServiceCtx context) { }
  8. [Command(32)] // 7.0.0+
  9. // SetShimLibraryVersion(pid, u64, nn::applet::AppletResourceUserId)
  10. public ResultCode SetShimLibraryVersion(ServiceCtx context)
  11. {
  12. ulong shimLibraryVersion = context.RequestData.ReadUInt64();
  13. ulong appletResourceUserId = context.RequestData.ReadUInt64();
  14. Logger.Stub?.PrintStub(LogClass.ServiceCaps, new { shimLibraryVersion, appletResourceUserId });
  15. return ResultCode.Success;
  16. }
  17. }
  18. }