mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-16 14:33:17 +01:00
stub set_sys (#49)
This commit is contained in:
parent
5d8a615c21
commit
65e04e9854
@ -46,6 +46,7 @@ namespace Ryujinx.Core.OsHle.IpcServices
|
|||||||
case "pctl:a": return new ServicePctl();
|
case "pctl:a": return new ServicePctl();
|
||||||
case "pl:u": return new ServicePl();
|
case "pl:u": return new ServicePl();
|
||||||
case "set": return new ServiceSet();
|
case "set": return new ServiceSet();
|
||||||
|
case "set:sys": return new ServiceSetSys();
|
||||||
case "sfdnsres": return new ServiceSfdnsres();
|
case "sfdnsres": return new ServiceSfdnsres();
|
||||||
case "sm:": return new ServiceSm();
|
case "sm:": return new ServiceSm();
|
||||||
case "ssl": return new ServiceSsl();
|
case "ssl": return new ServiceSsl();
|
||||||
|
35
Ryujinx.Core/OsHle/Services/Set/ServiceSetSys.cs
Normal file
35
Ryujinx.Core/OsHle/Services/Set/ServiceSetSys.cs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
using ChocolArm64.Memory;
|
||||||
|
using Ryujinx.Core.OsHle.Ipc;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace Ryujinx.Core.OsHle.IpcServices.Set
|
||||||
|
{
|
||||||
|
class ServiceSetSys : IIpcService
|
||||||
|
{
|
||||||
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||||
|
|
||||||
|
public IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
||||||
|
|
||||||
|
public ServiceSetSys()
|
||||||
|
{
|
||||||
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
|
{
|
||||||
|
{ 23, GetColorSetId },
|
||||||
|
{ 24, SetColorSetId }
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long GetColorSetId(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
//Use white system theme
|
||||||
|
Context.ResponseData.Write(1);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long SetColorSetId(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user