blob: 933b6a59b68a1961dd74ac7d88031113c5f26095 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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;
}
}
}
|