aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/IpcService.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2019-07-14 23:30:47 +0200
committerThomas Guillemard <me@thog.eu>2019-07-14 23:30:47 +0200
commitd8424a63c637f0636e301252b2b8a1fb90f2457d (patch)
treed7f1898bc3489ebc3bd93e71c9465725220dcdb2 /Ryujinx.HLE/HOS/Services/IpcService.cs
parentd5cc919369c0f1551fbb251482d8a0a9a7430452 (diff)
Update IpcService.cs (#734)
Remove `BindingFlags.NonPublic` Flag
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/IpcService.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/IpcService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/IpcService.cs b/Ryujinx.HLE/HOS/Services/IpcService.cs
index 456e1d75..e9538683 100644
--- a/Ryujinx.HLE/HOS/Services/IpcService.cs
+++ b/Ryujinx.HLE/HOS/Services/IpcService.cs
@@ -26,7 +26,7 @@ namespace Ryujinx.HLE.HOS.Services
{
Commands = Assembly.GetExecutingAssembly().GetTypes()
.Where(type => type == GetType())
- .SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public))
+ .SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public))
.SelectMany(methodInfo => methodInfo.GetCustomAttributes(typeof(CommandAttribute))
.Select(command => (((CommandAttribute)command).Id, methodInfo)))
.ToDictionary(command => command.Id, command => command.methodInfo);