diff options
author | Mary <mary@mary.zone> | 2022-03-04 18:03:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 18:03:16 +0100 |
commit | ac21abbb9d23432879b1026eb5bc48ad3d4583d8 (patch) | |
tree | dc0b99a3caeae4c9bc3b319a875f43a1647836de /Ryujinx.SDL2.Common/SDL2Driver.cs | |
parent | a3dd04deef7d2555726378293df891f3877f4489 (diff) |
Preparation for initial Flatpack and FlatHub integration (#3173)1.1.56
* Preparation for initial Flatpack and FlatHub integration
This integrate some initial changes required for Flatpack and distribution from FlatHub.
Also added some resources that will be used for packaging on Linux.
* Address gdkchan comment
Diffstat (limited to 'Ryujinx.SDL2.Common/SDL2Driver.cs')
-rw-r--r-- | Ryujinx.SDL2.Common/SDL2Driver.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.SDL2.Common/SDL2Driver.cs b/Ryujinx.SDL2.Common/SDL2Driver.cs index 944f8e57..fbf2b64a 100644 --- a/Ryujinx.SDL2.Common/SDL2Driver.cs +++ b/Ryujinx.SDL2.Common/SDL2Driver.cs @@ -1,4 +1,5 @@ -using Ryujinx.Common.Logging; +using Ryujinx.Common; +using Ryujinx.Common.Logging; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -81,7 +82,7 @@ namespace Ryujinx.SDL2.Common SDL_EventState(SDL_EventType.SDL_CONTROLLERSENSORUPDATE, SDL_DISABLE); - string gamepadDbPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SDL_GameControllerDB.txt"); + string gamepadDbPath = Path.Combine(ReleaseInformations.GetBaseApplicationDirectory(), "SDL_GameControllerDB.txt"); if (File.Exists(gamepadDbPath)) { |