diff options
| author | emmauss <emmausssss@gmail.com> | 2018-10-07 18:12:11 +0300 |
|---|---|---|
| committer | Thomas Guillemard <thog@protonmail.com> | 2018-10-07 17:12:11 +0200 |
| commit | 625fc8c0e0f7a10bbdabe86f9cc86b16d1a62be3 (patch) | |
| tree | a0f8d488a0b918226460a738689ca7c005cbfbba /Ryujinx.HLE/HOS/Services/Mm | |
| parent | caa181edf2c956a1433d3c2f8678231af52f9dad (diff) | |
Stubs Again (#439)
* stub/implement audren commands
* stub ISelfController get/set IdleTimeDetectonExtension
* stub irs
* add irs logclass, stub mmu:u irequest 1
* style fixes, addressed comments
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Mm')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Mm/IRequest.cs | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs b/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs index e65ef086..2a92cf76 100644 --- a/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs +++ b/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs @@ -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,25 @@ 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 } }; } + // InitializeOld(u32, u32, u32) + public long InitializeOld(ServiceCtx Context) + { + int Unknown0 = Context.RequestData.ReadInt32(); + int Unknown1 = Context.RequestData.ReadInt32(); + int Unknown2 = Context.RequestData.ReadInt32(); + + Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed."); + + return 0; + } + public long Initialize(ServiceCtx Context) { Context.Device.Log.PrintStub(LogClass.ServiceMm, "Stubbed."); |
