fix syntax
This commit is contained in:
parent
42da310f4b
commit
4fcbb143dd
1 changed files with 4 additions and 4 deletions
|
@ -37,10 +37,10 @@ namespace Ryujinx.HLE.HOS.Services.Sm
|
||||||
_registeredServices = new ConcurrentDictionary<string, KPort>();
|
_registeredServices = new ConcurrentDictionary<string, KPort>();
|
||||||
|
|
||||||
_services = AppDomain.CurrentDomain.GetAssemblies()
|
_services = AppDomain.CurrentDomain.GetAssemblies()
|
||||||
.SelectMany(type => type.GetTypes())
|
.SelectMany(type => type.GetTypes())
|
||||||
.SelectMany(type => type.GetCustomAttributes(typeof(ServiceAttribute), true)
|
.SelectMany(type => type.GetCustomAttributes(typeof(ServiceAttribute), true)
|
||||||
.Select(service => (((ServiceAttribute)service).Name, type)))
|
.Select(service => (((ServiceAttribute)service).Name, type)))
|
||||||
.ToDictionary(service => service.Name, service => service.type);
|
.ToDictionary(service => service.Name, service => service.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void InitializePort(Horizon system)
|
public static void InitializePort(Horizon system)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue