aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Arp/ArpMain.cs
blob: a28baa71a791aa1744e764123d427e8f49ccb03e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Horizon.Arp
{
    class ArpMain : IService
    {
        public static void Main(ServiceTable serviceTable)
        {
            ArpIpcServer arpIpcServer = new();

            arpIpcServer.Initialize();

            serviceTable.ArpReader = arpIpcServer.Reader;
            serviceTable.ArpWriter = arpIpcServer.Writer;

            serviceTable.SignalServiceReady();

            arpIpcServer.ServiceRequests();
            arpIpcServer.Shutdown();
        }
    }
}