mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-08-02 16:37:11 +02:00
Add special log for stubs (#81)
* add stub loglevel * add log for stubbed methods
This commit is contained in:
parent
f40338c3e1
commit
888c7ca763
19 changed files with 122 additions and 14 deletions
|
@ -45,6 +45,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
|
||||
public long ActivateDebugPad(ServiceCtx Context)
|
||||
{
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -52,6 +54,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -59,6 +63,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -66,6 +72,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -75,6 +83,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
|
||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -82,6 +92,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
Context.ResponseData.Write(0);
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -90,6 +102,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
long Unknown0 = Context.RequestData.ReadInt64();
|
||||
long Unknown8 = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -97,6 +111,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
long Unknown = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -104,6 +120,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
long Unknown = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -112,6 +130,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
long Unknown0 = Context.RequestData.ReadInt64();
|
||||
long Unknown8 = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -119,6 +139,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
Context.ResponseData.Write(0L);
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -127,6 +149,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
HidControllerId HidControllerId = (HidControllerId)Context.RequestData.ReadInt32();
|
||||
long AppletUserResourseId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -136,6 +160,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
long AppletUserResourseId = Context.RequestData.ReadInt64();
|
||||
long NpadJoyDeviceType = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -144,6 +170,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
HidControllerId HidControllerId = (HidControllerId)Context.RequestData.ReadInt32();
|
||||
long AppletUserResourseId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -153,6 +181,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
long Unknown8 = Context.RequestData.ReadInt32();
|
||||
long AppletUserResourseId = Context.RequestData.ReadInt64();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -160,6 +190,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
{
|
||||
int VibrationDeviceHandle = Context.RequestData.ReadInt32();
|
||||
|
||||
Logging.Stub(LogClass.ServiceHid, $"VibrationDeviceHandle = {VibrationDeviceHandle}, VibrationDeviceInfo = 0");
|
||||
|
||||
Context.ResponseData.Write(0L); //VibrationDeviceInfoForIpc
|
||||
|
||||
return 0;
|
||||
|
@ -174,6 +206,8 @@ namespace Ryujinx.Core.OsHle.Services.Hid
|
|||
|
||||
public long SendVibrationValues(ServiceCtx Context)
|
||||
{
|
||||
Logging.Stub(LogClass.ServiceHid, "Stubbed");
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue