mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 09:36:40 +00:00
23 lines
538 B
C#
23 lines
538 B
C#
|
using Ryujinx.Horizon.LogManager;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Ryujinx.Horizon
|
||
|
{
|
||
|
public static class ServiceTable
|
||
|
{
|
||
|
public static IEnumerable<ServiceEntry> GetServices(HorizonOptions options)
|
||
|
{
|
||
|
List<ServiceEntry> entries = new List<ServiceEntry>();
|
||
|
|
||
|
void RegisterService<T>() where T : IService
|
||
|
{
|
||
|
entries.Add(new ServiceEntry(T.Main, options));
|
||
|
}
|
||
|
|
||
|
RegisterService<LmMain>();
|
||
|
|
||
|
return entries;
|
||
|
}
|
||
|
}
|
||
|
}
|