Update IAccountServiceForApplication.cs

Stubs:
- GetUserCount (`Write(0);` throw userland error)
This commit is contained in:
Ac_K 2018-04-17 18:31:11 +02:00 committed by GitHub
commit 0d11169deb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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");