Basic Service Provider - don't register IEmulatorService
This commit is contained in:
parent
7e50a065a6
commit
de34d29ac1
|
@ -21,7 +21,7 @@ namespace BizHawk.Emulation.Common
|
|||
|
||||
Type coreType = core.GetType();
|
||||
|
||||
foreach (Type service in coreType.GetInterfaces())
|
||||
foreach (Type service in coreType.GetInterfaces().Where(t => t != typeof(IEmulatorService)))
|
||||
{
|
||||
Services.Add(service, core);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue