diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2022-12-29 15:09:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-29 15:09:18 +0100 |
commit | 3d1a0bf3749afa14da5b5ba1e0666fdb78c99beb (patch) | |
tree | 868a57ea9a5d005fbd742bce44d7685b91a353a8 | |
parent | c20f3fbebdfec9ed5b0022fbec7fbe3269ffad88 (diff) |
[Headless] Fix for not receiving any SDL events on Linux (#4182)1.1.495
* headless: Fix SDL events not working
* Add nuget.config
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Ryujinx.Headless.SDL2/Program.cs | 4 | ||||
-rw-r--r-- | nuget.config | 7 |
3 files changed, 12 insertions, 2 deletions
@@ -125,6 +125,9 @@ ClientBin/ packages/* *.config +# Include nuget.config +!nuget.config + # RIA/Silverlight projects Generated_Code/ diff --git a/Ryujinx.Headless.SDL2/Program.cs b/Ryujinx.Headless.SDL2/Program.cs index 9a082b6d..4a2ba99d 100644 --- a/Ryujinx.Headless.SDL2/Program.cs +++ b/Ryujinx.Headless.SDL2/Program.cs @@ -77,7 +77,7 @@ namespace Ryujinx.Headless.SDL2 _accountManager = new AccountManager(_libHacHorizonManager.RyujinxClient); _userChannelPersistence = new UserChannelPersistence(); - if (OperatingSystem.IsMacOS()) + if (OperatingSystem.IsMacOS() || OperatingSystem.IsLinux()) { AutoResetEvent invoked = new AutoResetEvent(false); @@ -663,4 +663,4 @@ namespace Ryujinx.Headless.SDL2 return true; } } -} +}
\ No newline at end of file diff --git a/nuget.config b/nuget.config new file mode 100644 index 00000000..80f5bd7f --- /dev/null +++ b/nuget.config @@ -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> |