aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2021-03-19 00:31:08 +0100
committerGitHub <noreply@github.com>2021-03-19 00:31:08 +0100
commit39899c04076a8e9004b173320ffbb6dbf45ff3e4 (patch)
tree36b5cdcceb2812349bd109afe65daa5c00be8d41 /Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs
parenta8c945f35fceab2b735afb6b825b327032468e84 (diff)
IPC: Remove IIpcService interface (#2121)
This PR remove the IIpcService.cs interface usage which isn't needed anymore since the interface is only used by IpcService class. We can use it directly.
Diffstat (limited to 'Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs')
-rw-r--r--Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs b/Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs
index 58c15fdd..69493918 100644
--- a/Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs
+++ b/Ryujinx.HLE/Exceptions/ServiceNotImplementedException.cs
@@ -14,15 +14,15 @@ namespace Ryujinx.HLE.Exceptions
[Serializable]
internal class ServiceNotImplementedException : Exception
{
- public IIpcService Service { get; }
+ public IpcService Service { get; }
public ServiceCtx Context { get; }
public IpcMessage Request { get; }
- public ServiceNotImplementedException(IIpcService service, ServiceCtx context)
+ public ServiceNotImplementedException(IpcService service, ServiceCtx context)
: this(service, context, "The service call is not implemented.")
{ }
- public ServiceNotImplementedException(IIpcService service, ServiceCtx context, string message)
+ public ServiceNotImplementedException(IpcService service, ServiceCtx context, string message)
: base(message)
{
Service = service;
@@ -30,7 +30,7 @@ namespace Ryujinx.HLE.Exceptions
Request = context.Request;
}
- public ServiceNotImplementedException(IIpcService service, ServiceCtx context, string message, Exception inner)
+ public ServiceNotImplementedException(IpcService service, ServiceCtx context, string message, Exception inner)
: base(message, inner)
{
Service = service;
@@ -158,7 +158,7 @@ namespace Ryujinx.HLE.Exceptions
var method = frame.GetMethod();
var declType = method.DeclaringType;
- if (typeof(IIpcService).IsAssignableFrom(declType))
+ if (typeof(IpcService).IsAssignableFrom(declType))
{
return (declType, method);
}