add irs logclass, stub mmu:u irequest 1
This commit is contained in:
parent
f4ed327722
commit
d8bc8ddd03
3 changed files with 15 additions and 5 deletions
|
@ -28,7 +28,7 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
||||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||||
int IrsSensorHandle = Context.RequestData.ReadInt32();
|
int IrsSensorHandle = Context.RequestData.ReadInt32();
|
||||||
|
|
||||||
Context.Device.Log.PrintStub(LogClass.ServiceHid, $"Stubbed. AppletResourceUserId: {AppletResourceUserId} - " +
|
Context.Device.Log.PrintStub(LogClass.ServiceIrs, $"Stubbed. AppletResourceUserId: {AppletResourceUserId} - " +
|
||||||
$"IrsSensorHandle: {IrsSensorHandle}");
|
$"IrsSensorHandle: {IrsSensorHandle}");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -39,7 +39,7 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
||||||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||||
int IrsSensorHandle = Context.RequestData.ReadInt32();
|
int IrsSensorHandle = Context.RequestData.ReadInt32();
|
||||||
|
|
||||||
Context.Device.Log.PrintStub(LogClass.ServiceHid, $"Stubbed. AppletResourceUserId: {AppletResourceUserId} - " +
|
Context.Device.Log.PrintStub(LogClass.ServiceIrs, $"Stubbed. AppletResourceUserId: {AppletResourceUserId} - " +
|
||||||
$"IrsSensorHandle: {IrsSensorHandle}");
|
$"IrsSensorHandle: {IrsSensorHandle}");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
using Ryujinx.HLE.HOS.Ipc;
|
using Ryujinx.HLE.HOS.Ipc;
|
||||||
using Ryujinx.HLE.Logging;
|
using Ryujinx.HLE.Logging;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.HLE.HOS.Services.Mm
|
namespace Ryujinx.HLE.HOS.Services.Mm
|
||||||
|
@ -14,12 +15,20 @@ namespace Ryujinx.HLE.HOS.Services.Mm
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
||||||
{ 4, Initialize },
|
{ 1, InitializeOld },
|
||||||
{ 6, SetAndWait },
|
{ 4, Initialize },
|
||||||
{ 7, Get }
|
{ 6, SetAndWait },
|
||||||
|
{ 7, Get }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long InitializeOld(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed.");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public long Initialize(ServiceCtx Context)
|
public long Initialize(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed.");
|
Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed.");
|
||||||
|
|
|
@ -22,6 +22,7 @@ namespace Ryujinx.HLE.Logging
|
||||||
ServiceFriend,
|
ServiceFriend,
|
||||||
ServiceFs,
|
ServiceFs,
|
||||||
ServiceHid,
|
ServiceHid,
|
||||||
|
ServiceIrs,
|
||||||
ServiceLm,
|
ServiceLm,
|
||||||
ServiceMm,
|
ServiceMm,
|
||||||
ServiceNfp,
|
ServiceNfp,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue