Prechádzať zdrojové kódy

HLE: Stub IHidServer SetGestureOutputRanges (#524)

Lets "Donkey Kong Country Returns HD" get into main gameplay.
Evan Husted 1 rok pred
rodič
commit
a5a4ef38e6

+ 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)