aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Nfp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-10-17 14:15:50 -0300
committergdkchan <gab.dark.100@gmail.com>2018-10-17 14:15:50 -0300
commitb3a4662be15bd63d5b70cf4be21d79959e11ccfc (patch)
treedaca12b81aafcae1651e89c434f2e7cfd8a85132 /Ryujinx.HLE/HOS/Services/Nfp
parent9b19ea3c87518234fd72a6dead727eb5d8379c0d (diff)
Move logging to Ryujinx.Common and make it a static class (#413)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Nfp')
-rw-r--r--Ryujinx.HLE/HOS/Services/Nfp/IUser.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Nfp/IUser.cs b/Ryujinx.HLE/HOS/Services/Nfp/IUser.cs
index 72a385d2..f0dc825b 100644
--- a/Ryujinx.HLE/HOS/Services/Nfp/IUser.cs
+++ b/Ryujinx.HLE/HOS/Services/Nfp/IUser.cs
@@ -1,7 +1,7 @@
-using Ryujinx.HLE.HOS.Ipc;
+using Ryujinx.Common.Logging;
+using Ryujinx.HLE.HOS.Ipc;
using Ryujinx.HLE.HOS.Kernel;
using Ryujinx.HLE.Input;
-using Ryujinx.HLE.Logging;
using System;
using System.Collections.Generic;
@@ -45,7 +45,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
public long Initialize(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
State = State.Initialized;
@@ -54,7 +54,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
public long AttachActivateEvent(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
if (Context.Process.HandleTable.GenerateHandle(ActivateEvent.ReadableEvent, out int Handle) != KernelResult.Success)
{
@@ -68,7 +68,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
public long AttachDeactivateEvent(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
if (Context.Process.HandleTable.GenerateHandle(DeactivateEvent.ReadableEvent, out int Handle) != KernelResult.Success)
{
@@ -84,7 +84,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
{
Context.ResponseData.Write((int)State);
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
return 0;
}
@@ -93,7 +93,7 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
{
Context.ResponseData.Write((int)DeviceState);
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
return 0;
}
@@ -102,14 +102,14 @@ namespace Ryujinx.HLE.HOS.Services.Nfp
{
Context.ResponseData.Write((int)NpadId);
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
return 0;
}
public long AttachAvailabilityChangeEvent(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNfp, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNfp, "Stubbed.");
if (Context.Process.HandleTable.GenerateHandle(AvailabilityChangeEvent.ReadableEvent, out int Handle) != KernelResult.Success)
{