mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-31 21:13:04 +00:00
add Commands in IApplicationCreator
This commit is contained in:
parent
98e6a34608
commit
0e11c0c85c
1 changed files with 33 additions and 2 deletions
|
@ -13,8 +13,39 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
{
|
{
|
||||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||||
{
|
{
|
||||||
//...
|
{ 0, CreateApplication },
|
||||||
|
{ 1, PopLaunchRequestedApplication },
|
||||||
|
{ 10, CreateSystemApplication },
|
||||||
|
{ 100, PopFloatingApplicationForDevelopment }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long CreateApplication(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
MakeObject(Context, new IApplicationAccessor());
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long PopLaunchRequestedApplication(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
MakeObject(Context, new IApplicationAccessor());
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long CreateSystemApplication(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
MakeObject(Context, new IApplicationAccessor());
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long PopFloatingApplicationForDevelopment(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
MakeObject(Context, new IApplicationAccessor());
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue