0
0
Fork 0

Update IAccountServiceForApplication.cs (#85)

Stubs:
- GetUserCount (`Write(0);` throw userland error)
This commit is contained in:
Ac_K 2018-04-17 16:41:14 +00:00 committed by gdkchan
parent ed155e6f4e
commit 917fb7ad21

View file

@ -13,6 +13,7 @@ namespace Ryujinx.Core.OsHle.Services.Acc
{ {
m_Commands = new Dictionary<int, ServiceProcessRequest>() m_Commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 0, GetUserCount },
{ 3, ListOpenUsers }, { 3, ListOpenUsers },
{ 5, GetProfile }, { 5, GetProfile },
{ 100, InitializeApplicationInfo }, { 100, InitializeApplicationInfo },
@ -20,6 +21,15 @@ namespace Ryujinx.Core.OsHle.Services.Acc
}; };
} }
public long GetUserCount(ServiceCtx Context)
{
Context.ResponseData.Write(0);
Logging.Stub(LogClass.ServiceAcc, "Stubbed");
return 0;
}
public long ListOpenUsers(ServiceCtx Context) public long ListOpenUsers(ServiceCtx Context)
{ {
Logging.Stub(LogClass.ServiceAcc, "Stubbed"); Logging.Stub(LogClass.ServiceAcc, "Stubbed");