Really hide ISpecializedEmulatorService from CoreFeatureAnalysis UI
fixes 25b7be70b
This commit is contained in:
parent
25b7be70bc
commit
377c69032c
|
@ -156,7 +156,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
var knownServices = Emulation.Common.ReflectionCache.Types
|
||||
.Where(t => typeof(IEmulatorService).IsAssignableFrom(t))
|
||||
.Where(t => t != typeof(IEmulatorService) && t != typeof(ISpecializedEmulatorService))
|
||||
.Where(t => t != typeof(IEmulatorService))
|
||||
.Where(t => t != typeof(ITextStatable)) // Hack for now, eventually we can get rid of this interface in favor of a default implementation
|
||||
.Where(t => t.IsInterface);
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace BizHawk.Emulation.Common
|
|||
|
||||
var services = coreType.GetInterfaces()
|
||||
.Where(t => typeof(IEmulatorService).IsAssignableFrom(t))
|
||||
.Where(t => t != typeof(IEmulatorService));
|
||||
.Where(t => t != typeof(IEmulatorService) && t != typeof(ISpecializedEmulatorService));
|
||||
|
||||
foreach (Type service in services)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue