diff --git a/BizHawk.Emulation.Cores/CoreInventory.cs b/BizHawk.Emulation.Cores/CoreInventory.cs index 0b8099a918..c7fc7d3e46 100644 --- a/BizHawk.Emulation.Cores/CoreInventory.cs +++ b/BizHawk.Emulation.Cores/CoreInventory.cs @@ -8,6 +8,9 @@ using BizHawk.Emulation.DiscSystem; namespace BizHawk.Emulation.Cores { + /// + /// finds and instantiates IEmulator cores + /// public class CoreInventory { public class Core @@ -55,6 +58,16 @@ namespace BizHawk.Emulation.Cores parameters[i] = value; } + /// + /// instatiate an emulator core + /// + /// + /// + /// + /// + /// + /// + /// public IEmulator Create ( CoreComm comm, @@ -92,6 +105,11 @@ namespace BizHawk.Emulation.Cores ss.Add(core); } + /// + /// find a core matching a particular game.system + /// + /// + /// public Core this[string system] { get @@ -102,6 +120,13 @@ namespace BizHawk.Emulation.Cores return ss[0]; } } + + /// + /// find a core matching a particular game.system with a particular coreattributes.name + /// + /// + /// + /// public Core this[string system, string core] { get @@ -116,6 +141,10 @@ namespace BizHawk.Emulation.Cores } } + /// + /// create a core inventory, collecting all IEmulators from some assembilies + /// + /// public CoreInventory(IEnumerable assys) { foreach (var assy in assys)