Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/FNAPlatform/SDL2_FNAPlatform.cs b/src/FNAPlatform/SDL2_FNAPlatform.cs
- index dfa7937..e38fbab 100644
- --- a/src/FNAPlatform/SDL2_FNAPlatform.cs
- +++ b/src/FNAPlatform/SDL2_FNAPlatform.cs
- @@ -1015,7 +1015,10 @@ namespace Microsoft.Xna.Framework
- osConfigDir += "/Library/Application Support";
- return osConfigDir;
- }
- - if (OSVersion.Equals("Linux"))
- + if ( OSVersion.Equals("Linux") ||
- + OSVersion.Equals("OpenBSD") ||
- + OSVersion.Equals("FreeBSD") ||
- + OSVersion.Equals("NetBSD") )
- {
- // Assuming a non-OSX Unix platform will follow the XDG. Which it should.
- string osConfigDir = Environment.GetEnvironmentVariable("XDG_DATA_HOME");
- @@ -1908,7 +1911,10 @@ namespace Microsoft.Xna.Framework
- }
- // Initialize light bar
- - if ( OSVersion.Equals("Linux") &&
- + if ( ( OSVersion.Equals("Linux") ||
- + OSVersion.Equals("OpenBSD") ||
- + OSVersion.Equals("FreeBSD") ||
- + OSVersion.Equals("NetBSD") ) &&
- ( INTERNAL_guids[which].Equals("4c05c405") ||
- INTERNAL_guids[which].Equals("4c05cc09") ) )
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement