Really hide ISpecializedEmulatorService from CoreFeatureAnalysis UI

fixes 25b7be70b
This commit is contained in:
YoshiRulz 2020-10-14 09:18:55 +10:00
parent 25b7be70bc
commit 377c69032c
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)
{