Headless in Avalonia, v1

It will get more advanced than this, this is for proof of concept.
This commit is contained in:
Evan Husted
2024-12-08 19:01:53 -06:00
parent 1a005f96e7
commit 4a545a00c6
4 changed files with 10 additions and 3 deletions

View File

@@ -55,6 +55,12 @@ namespace Ryujinx.Ava
Initialize(args);
if (args[0] is "--no-gui" or "nogui")
{
Headless.SDL2.Program.Main(args.Skip(1).ToArray());
return 0;
}
LoggerAdapter.Register();
IconProvider.Current

View File

@@ -67,6 +67,7 @@
<ProjectReference Include="..\Ryujinx.Audio.Backends.OpenAL\Ryujinx.Audio.Backends.OpenAL.csproj" />
<ProjectReference Include="..\Ryujinx.Audio.Backends.SoundIo\Ryujinx.Audio.Backends.SoundIo.csproj" />
<ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
<ProjectReference Include="..\Ryujinx.Headless.SDL2\Ryujinx.Headless.SDL2.csproj" />
<ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
<ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
<ProjectReference Include="..\Ryujinx.Graphics.OpenGL\Ryujinx.Graphics.OpenGL.csproj" />