diff options
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/IpcService.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/IpcService.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Ryujinx.HLE/HOS/Services/IpcService.cs b/Ryujinx.HLE/HOS/Services/IpcService.cs index 4c7d83ea..f42fd0e2 100644 --- a/Ryujinx.HLE/HOS/Services/IpcService.cs +++ b/Ryujinx.HLE/HOS/Services/IpcService.cs @@ -11,7 +11,7 @@ namespace Ryujinx.HLE.HOS.Services { abstract class IpcService { - public IReadOnlyDictionary<int, MethodInfo> HipcCommands { get; } + public IReadOnlyDictionary<int, MethodInfo> CmifCommands { get; } public IReadOnlyDictionary<int, MethodInfo> TipcCommands { get; } public ServerBase Server { get; private set; } @@ -23,11 +23,11 @@ namespace Ryujinx.HLE.HOS.Services public IpcService(ServerBase server = null) { - HipcCommands = Assembly.GetExecutingAssembly().GetTypes() + CmifCommands = Assembly.GetExecutingAssembly().GetTypes() .Where(type => type == GetType()) .SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public)) - .SelectMany(methodInfo => methodInfo.GetCustomAttributes(typeof(CommandHipcAttribute)) - .Select(command => (((CommandHipcAttribute)command).Id, methodInfo))) + .SelectMany(methodInfo => methodInfo.GetCustomAttributes(typeof(CommandCmifAttribute)) + .Select(command => (((CommandCmifAttribute)command).Id, methodInfo))) .ToDictionary(command => command.Id, command => command.methodInfo); TipcCommands = Assembly.GetExecutingAssembly().GetTypes() @@ -61,7 +61,7 @@ namespace Ryujinx.HLE.HOS.Services _isDomain = false; } - public void CallHipcMethod(ServiceCtx context) + public void CallCmifMethod(ServiceCtx context) { IpcService service = this; @@ -107,7 +107,7 @@ namespace Ryujinx.HLE.HOS.Services long sfciMagic = context.RequestData.ReadInt64(); int commandId = (int)context.RequestData.ReadInt64(); - bool serviceExists = service.HipcCommands.TryGetValue(commandId, out MethodInfo processRequest); + bool serviceExists = service.CmifCommands.TryGetValue(commandId, out MethodInfo processRequest); if (context.Device.Configuration.IgnoreMissingServices || serviceExists) { |