aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Usb/UsbMain.cs
blob: a9c2e6807c1a05a702e467a659ca8d2b676d80b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Horizon.Usb
{
    class UsbMain : IService
    {
        public static void Main(ServiceTable serviceTable)
        {
            UsbIpcServer ipcServer = new();

            ipcServer.Initialize();

            serviceTable.SignalServiceReady();

            ipcServer.ServiceRequests();
            ipcServer.Shutdown();
        }
    }
}