Skip to content

Commit

Permalink
[Headless] Fix for not receiving any SDL events on Linux (#4182)
Browse files Browse the repository at this point in the history
* headless: Fix SDL events not working

* Add nuget.config
  • Loading branch information
TSRBerry authored Dec 29, 2022
1 parent c20f3fb commit 3d1a0bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ ClientBin/
packages/*
*.config

# Include nuget.config
!nuget.config

# RIA/Silverlight projects
Generated_Code/

Expand Down
4 changes: 2 additions & 2 deletions Ryujinx.Headless.SDL2/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void Main(string[] args)
_accountManager = new AccountManager(_libHacHorizonManager.RyujinxClient);
_userChannelPersistence = new UserChannelPersistence();

if (OperatingSystem.IsMacOS())
if (OperatingSystem.IsMacOS() || OperatingSystem.IsLinux())
{
AutoResetEvent invoked = new AutoResetEvent(false);

Expand Down Expand Up @@ -663,4 +663,4 @@ private static bool LoadApplication(Options options)
return true;
}
}
}
}
7 changes: 7 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>

0 comments on commit 3d1a0bf

Please sign in to comment.