Ver Fonte

HLE: Stub IHidServer SetGestureOutputRanges (#524)

Lets "Donkey Kong Country Returns HD" get into main gameplay.
Evan Husted há 1 ano atrás
pai
commit
a5a4ef38e6
1 ficheiros alterados com 12 adições e 0 exclusões
  1. 12 0
      src/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs

+ 12 - 0
src/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs

@@ -702,6 +702,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid
 
             return ResultCode.Success;
         }
+        
+        [CommandCmif(92)]
+        // SetGestureOutputRanges(pid, ushort Unknown0)
+        public ResultCode SetGestureOutputRanges(ServiceCtx context)
+        {
+            ulong pid = context.Request.HandleDesc.PId;
+            ushort unknown0 = context.RequestData.ReadUInt16();
+
+            Logger.Stub?.PrintStub(LogClass.ServiceHid, new { pid, unknown0 });
+
+            return ResultCode.Success;
+        }
 
         [CommandCmif(100)]
         // SetSupportedNpadStyleSet(pid, nn::applet::AppletResourceUserId, nn::hid::NpadStyleTag)