Fix InitializeOld on mm:u

This commit is contained in:
HorrorTroll 2018-10-18 16:31:06 +07:00
commit fbcca51794

View file

@ -14,7 +14,7 @@ namespace Ryujinx.HLE.HOS.Services.Mm
{ {
m_Commands = new Dictionary<int, ServiceProcessRequest>() m_Commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 1, InitializeOld }, { 0, InitializeOld },
{ 4, Initialize }, { 4, Initialize },
{ 6, SetAndWait }, { 6, SetAndWait },
{ 7, Get } { 7, Get }
@ -33,6 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Mm
return 0; return 0;
} }
// Initialize()
public long Initialize(ServiceCtx Context) public long Initialize(ServiceCtx Context)
{ {
Logger.PrintStub(LogClass.ServiceMm, "Stubbed."); Logger.PrintStub(LogClass.ServiceMm, "Stubbed.");
@ -40,6 +41,7 @@ namespace Ryujinx.HLE.HOS.Services.Mm
return 0; return 0;
} }
// SetAndWait(u32, u32, u32)
public long SetAndWait(ServiceCtx Context) public long SetAndWait(ServiceCtx Context)
{ {
Logger.PrintStub(LogClass.ServiceMm, "Stubbed."); Logger.PrintStub(LogClass.ServiceMm, "Stubbed.");
@ -47,6 +49,7 @@ namespace Ryujinx.HLE.HOS.Services.Mm
return 0; return 0;
} }
// Get(u32) -> u32
public long Get(ServiceCtx Context) public long Get(ServiceCtx Context)
{ {
Context.ResponseData.Write(0); Context.ResponseData.Write(0);