aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Services/Acc
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2018-04-17 03:24:42 +0300
committergdkchan <gab.dark.100@gmail.com>2018-04-16 21:24:42 -0300
commitb334aab4354e317fb2ef3a2e2f34739249a2d116 (patch)
treeafd1af412b25c7419cb293d3373994b3f3b25a69 /Ryujinx.Core/OsHle/Services/Acc
parent494e6dfa1ef0a46263d9ea8bb3c9e5bd3b23f43c (diff)
Add special log for stubs (#81)
* add stub loglevel * add log for stubbed methods
Diffstat (limited to 'Ryujinx.Core/OsHle/Services/Acc')
-rw-r--r--Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs4
-rw-r--r--Ryujinx.Core/OsHle/Services/Acc/IManagerForApplication.cs6
-rw-r--r--Ryujinx.Core/OsHle/Services/Acc/IProfile.cs2
3 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 b6b219ee..75c7725d 100644
--- a/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs
+++ b/Ryujinx.Core/OsHle/Services/Acc/IAccountServiceForApplication.cs
@@ -22,6 +22,8 @@ namespace Ryujinx.Core.OsHle.Services.Acc
public long ListOpenUsers(ServiceCtx Context)
{
+ Logging.Stub(LogClass.ServiceAcc, "Stubbed");
+
return 0;
}
@@ -34,6 +36,8 @@ namespace Ryujinx.Core.OsHle.Services.Acc
public long InitializeApplicationInfo(ServiceCtx Context)
{
+ Logging.Stub(LogClass.ServiceAcc, "Stubbed");
+
return 0;
}
diff --git a/Ryujinx.Core/OsHle/Services/Acc/IManagerForApplication.cs b/Ryujinx.Core/OsHle/Services/Acc/IManagerForApplication.cs
index 57f6895f..cc72a64c 100644
--- a/Ryujinx.Core/OsHle/Services/Acc/IManagerForApplication.cs
+++ b/Ryujinx.Core/OsHle/Services/Acc/IManagerForApplication.cs
@@ -19,12 +19,16 @@ namespace Ryujinx.Core.OsHle.Services.Acc
}
public long CheckAvailability(ServiceCtx Context)
- {
+ {
+ Logging.Stub(LogClass.ServiceAcc, "Stubbed");
+
return 0;
}
public long GetAccountId(ServiceCtx Context)
{
+ Logging.Stub(LogClass.ServiceAcc, "AccountId = 0xcafeL");
+
Context.ResponseData.Write(0xcafeL);
return 0;
diff --git a/Ryujinx.Core/OsHle/Services/Acc/IProfile.cs b/Ryujinx.Core/OsHle/Services/Acc/IProfile.cs
index 92e73f78..6f316b1c 100644
--- a/Ryujinx.Core/OsHle/Services/Acc/IProfile.cs
+++ b/Ryujinx.Core/OsHle/Services/Acc/IProfile.cs
@@ -19,6 +19,8 @@ namespace Ryujinx.Core.OsHle.Services.Acc
public long GetBase(ServiceCtx Context)
{
+ Logging.Stub(LogClass.ServiceAcc, "Stubbed");
+
Context.ResponseData.Write(0L);
Context.ResponseData.Write(0L);
Context.ResponseData.Write(0L);