* Implement NGC service * Use raw byte arrays instead of string for _wordSeparators * Silence IDE0230 for _wordSeparators * Try to silence warning about _rangeValuesCount not being read on SparseSet * Make AcType enum private * Add abstract methods and one TODO that I forgot * PR feedback * More PR feedback * More PR feedback
21 lines
745 B
C#
21 lines
745 B
C#
namespace Ryujinx.Horizon.Ngc
|
|
{
|
|
class NgcMain : IService
|
|
{
|
|
public static void Main(ServiceTable serviceTable)
|
|
{
|
|
NgcIpcServer ipcServer = new();
|
|
|
|
ipcServer.Initialize(HorizonStatic.Options.FsClient);
|
|
|
|
// TODO: Notification thread, requires implementing OpenSystemDataUpdateEventNotifier on FS.
|
|
// The notification thread seems to wait until the event returned by OpenSystemDataUpdateEventNotifier is signalled
|
|
// in a loop. When it receives the signal, it calls ContentsReader.Reload and then waits for the next signal.
|
|
|
|
serviceTable.SignalServiceReady();
|
|
|
|
ipcServer.ServiceRequests();
|
|
ipcServer.Shutdown();
|
|
}
|
|
}
|
|
}
|