aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2018-04-17 16:41:14 +0000
committergdkchan <gab.dark.100@gmail.com>2018-04-17 13:41:14 -0300
commit917fb7ad218a84b12d84187c3e2ce188c9407497 (patch)
treebab7eab9769d07202159178575352eb43ab6109a
parented155e6f4ecc5ab25b06a6bf9655b42aa4e829d5 (diff)
Update IAccountServiceForApplication.cs (#85)
Stubs: - GetUserCount (`Write(0);` throw userland error)
-rw-r--r--Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs b/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs
index 75c7725d..3ecdf15c 100644
--- a/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs
+++ b/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs
@@ -13,6 +13,7 @@ namespace Ryujinx.Core.OsHle.Services.Acc
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
+ { 0, GetUserCount },
{ 3, ListOpenUsers },
{ 5, GetProfile },
{ 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)
{
Logging.Stub(LogClass.ServiceAcc, "Stubbed");
@@ -48,4 +58,4 @@ namespace Ryujinx.Core.OsHle.Services.Acc
return 0;
}
}
-} \ No newline at end of file
+}