From b2f733da7839ff8ba7a70a529cb9eb3eea9f0af6 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 21 Feb 2018 18:56:52 -0300 Subject: FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section --- Ryujinx.Core/OsHle/Services/ServiceHid.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'Ryujinx.Core/OsHle/Services') diff --git a/Ryujinx.Core/OsHle/Services/ServiceHid.cs b/Ryujinx.Core/OsHle/Services/ServiceHid.cs index 4b2e82ff..aed3e959 100644 --- a/Ryujinx.Core/OsHle/Services/ServiceHid.cs +++ b/Ryujinx.Core/OsHle/Services/ServiceHid.cs @@ -23,6 +23,13 @@ namespace Ryujinx.Core.OsHle.Services return 0; } + public static long HidGetSupportedNpadStyleSet(ServiceCtx Context) + { + Context.ResponseData.Write(0); + + return 0; + } + public static long HidSetSupportedNpadStyleSet(ServiceCtx Context) { long Unknown0 = Context.RequestData.ReadInt64(); @@ -52,5 +59,19 @@ namespace Ryujinx.Core.OsHle.Services return 0; } + + public static long HidGetNpadJoyHoldType(ServiceCtx Context) + { + Context.ResponseData.Write(0L); + + return 0; + } + + public static long HidCreateActiveVibrationDeviceList(ServiceCtx Context) + { + MakeObject(Context, new IActiveApplicationDeviceList()); + + return 0; + } } } \ No newline at end of file -- cgit v1.2.3