add Commands in IApplicationCreator

This commit is contained in:
greggameplayer 2018-06-12 18:45:39 +02:00 committed by GitHub
parent 98e6a34608
commit 0e11c0c85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,39 @@ namespace Ryujinx.HLE.OsHle.Services.Am
{
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;
}
}
}
}