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();
|
||||
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}");
|
||||
|
||||
return 0;
|
||||
|
@ -39,7 +39,7 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
|||
long AppletResourceUserId = Context.RequestData.ReadInt64();
|
||||
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}");
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using Ryujinx.HLE.HOS.Ipc;
|
||||
using Ryujinx.HLE.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Services.Mm
|
||||
|
@ -14,12 +15,20 @@ namespace Ryujinx.HLE.HOS.Services.Mm
|
|||
{
|
||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||
{
|
||||
{ 4, Initialize },
|
||||
{ 6, SetAndWait },
|
||||
{ 7, Get }
|
||||
{ 1, InitializeOld },
|
||||
{ 4, Initialize },
|
||||
{ 6, SetAndWait },
|
||||
{ 7, Get }
|
||||
};
|
||||
}
|
||||
|
||||
public long InitializeOld(ServiceCtx Context)
|
||||
{
|
||||
Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed.");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long Initialize(ServiceCtx Context)
|
||||
{
|
||||
Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed.");
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace Ryujinx.HLE.Logging
|
|||
ServiceFriend,
|
||||
ServiceFs,
|
||||
ServiceHid,
|
||||
ServiceIrs,
|
||||
ServiceLm,
|
||||
ServiceMm,
|
||||
ServiceNfp,
|
||||
|
|
Loading…
Add table
Reference in a new issue