aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2020-09-20 05:32:48 +0200
committerGitHub <noreply@github.com>2020-09-20 13:32:48 +1000
commitda3a53a29cadd0bd56c5e0585e31cfa0d8479f9a (patch)
treebd0fa944483853361654312132575e7807034703 /Ryujinx.HLE/HOS/Services
parent66b799a6e481ed316eeddcfe33a1d4629e47bb44 (diff)
caps: Stub SetShimLibraryVersion (#1552)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services')
-rw-r--r--Ryujinx.HLE/HOS/Services/Caps/IAlbumApplicationService.cs14
-rw-r--r--Ryujinx.HLE/HOS/Services/Caps/IScreenShotApplicationService.cs16
2 files changed, 29 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Caps/IAlbumApplicationService.cs b/Ryujinx.HLE/HOS/Services/Caps/IAlbumApplicationService.cs
index 199d6aa3..9b699f60 100644
--- a/Ryujinx.HLE/HOS/Services/Caps/IAlbumApplicationService.cs
+++ b/Ryujinx.HLE/HOS/Services/Caps/IAlbumApplicationService.cs
@@ -1,8 +1,22 @@
+using Ryujinx.Common.Logging;
+
namespace Ryujinx.HLE.HOS.Services.Caps
{
[Service("caps:u")]
class IAlbumApplicationService : IpcService
{
public IAlbumApplicationService(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;
+ }
}
} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Caps/IScreenShotApplicationService.cs b/Ryujinx.HLE/HOS/Services/Caps/IScreenShotApplicationService.cs
index 209bfd3d..36bdb9f5 100644
--- a/Ryujinx.HLE/HOS/Services/Caps/IScreenShotApplicationService.cs
+++ b/Ryujinx.HLE/HOS/Services/Caps/IScreenShotApplicationService.cs
@@ -1,8 +1,22 @@
-namespace Ryujinx.HLE.HOS.Services.Caps
+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;
+ }
}
} \ No newline at end of file