0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 23:05:46 +00:00

handle vi:u and vi:s getdisplayservice (#66)

This commit is contained in:
emmauss 2018-03-23 12:44:27 +02:00 committed by gdkchan
parent 33ad3982aa
commit 423ae5d889

View file

@ -13,13 +13,15 @@ namespace Ryujinx.Core.OsHle.Services.Vi
{ {
m_Commands = new Dictionary<int, ServiceProcessRequest>() m_Commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 0, GetDisplayService },
{ 1, GetDisplayService },
{ 2, GetDisplayService } { 2, GetDisplayService }
}; };
} }
public long GetDisplayService(ServiceCtx Context) public long GetDisplayService(ServiceCtx Context)
{ {
int Unknown = Context.RequestData.ReadInt32(); int ServiceType = Context.RequestData.ReadInt32();
MakeObject(Context, new IApplicationDisplayService()); MakeObject(Context, new IApplicationDisplayService());