aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Nifm
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/Nifm
parent9b19ea3c87518234fd72a6dead727eb5d8379c0d (diff)
Move logging to Ryujinx.Common and make it a static class (#413)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Nifm')
-rw-r--r--Ryujinx.HLE/HOS/Services/Nifm/IGeneralService.cs6
-rw-r--r--Ryujinx.HLE/HOS/Services/Nifm/IRequest.cs12
2 files changed, 9 insertions, 9 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Nifm/IGeneralService.cs b/Ryujinx.HLE/HOS/Services/Nifm/IGeneralService.cs
index 6adbf00a..bc23ea91 100644
--- a/Ryujinx.HLE/HOS/Services/Nifm/IGeneralService.cs
+++ b/Ryujinx.HLE/HOS/Services/Nifm/IGeneralService.cs
@@ -1,5 +1,5 @@
+using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.Ipc;
-using Ryujinx.HLE.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -32,7 +32,7 @@ namespace Ryujinx.HLE.HOS.Services.Nifm
MakeObject(Context, new IRequest(Context.Device.System));
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}
@@ -50,7 +50,7 @@ namespace Ryujinx.HLE.HOS.Services.Nifm
Context.ResponseData.Write(BitConverter.ToUInt32(Address.GetAddressBytes()));
- Context.Device.Log.PrintInfo(LogClass.ServiceNifm, $"Console's local IP is \"{Address}\".");
+ Logger.PrintInfo(LogClass.ServiceNifm, $"Console's local IP is \"{Address}\".");
return 0;
}
diff --git a/Ryujinx.HLE/HOS/Services/Nifm/IRequest.cs b/Ryujinx.HLE/HOS/Services/Nifm/IRequest.cs
index 9b501d7c..98327860 100644
--- a/Ryujinx.HLE/HOS/Services/Nifm/IRequest.cs
+++ b/Ryujinx.HLE/HOS/Services/Nifm/IRequest.cs
@@ -1,6 +1,6 @@
+using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.Ipc;
using Ryujinx.HLE.HOS.Kernel;
-using Ryujinx.HLE.Logging;
using System;
using System.Collections.Generic;
@@ -35,14 +35,14 @@ namespace Ryujinx.HLE.HOS.Services.Nifm
{
Context.ResponseData.Write(1);
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}
public long GetResult(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}
@@ -66,21 +66,21 @@ namespace Ryujinx.HLE.HOS.Services.Nifm
public long Cancel(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}
public long Submit(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}
public long SetConnectionConfirmationOption(ServiceCtx Context)
{
- Context.Device.Log.PrintStub(LogClass.ServiceNifm, "Stubbed.");
+ Logger.PrintStub(LogClass.ServiceNifm, "Stubbed.");
return 0;
}