From f7ccb7dfca1230be698af3ae7476463bd28466c4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 7 Sep 2020 22:34:45 +1000 Subject: [PATCH] Change signature of CoreInventory ctor --- src/BizHawk.Emulation.Cores/CoreInventory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/CoreInventory.cs b/src/BizHawk.Emulation.Cores/CoreInventory.cs index 3aac68802c..5d010fa7cb 100644 --- a/src/BizHawk.Emulation.Cores/CoreInventory.cs +++ b/src/BizHawk.Emulation.Cores/CoreInventory.cs @@ -143,11 +143,11 @@ namespace BizHawk.Emulation.Cores /// /// create a core inventory, collecting all IEmulators from some assemblies /// - public CoreInventory(IEnumerable assys) + public CoreInventory(IEnumerable> assys) { foreach (var assy in assys) { - foreach (var typ in assy.GetTypes()) + foreach (var typ in assy) { if (!typ.IsAbstract && typ.GetInterfaces().Contains(typeof(IEmulator))) { @@ -168,7 +168,7 @@ namespace BizHawk.Emulation.Cores } } - public static readonly CoreInventory Instance = new CoreInventory(new[] { Emulation.Cores.ReflectionCache.Asm }); + public static readonly CoreInventory Instance = new CoreInventory(new[] { Emulation.Cores.ReflectionCache.Types }); } public enum CorePriority