Quellcode durchsuchen

misc: Fix the issues blocking PRs

Evan Husted vor 1 Jahr
Ursprung
Commit
8b75ce1d98

+ 1 - 0
src/Ryujinx.Input.SDL2/SDL2Mouse.cs

@@ -83,6 +83,7 @@ namespace Ryujinx.Input.SDL2
 
         public void Dispose()
         {
+            GC.SuppressFinalize(this);
             _driver = null;
         }
     }

+ 1 - 0
src/Ryujinx.Input.SDL2/SDL2MouseDriver.cs

@@ -171,6 +171,7 @@ namespace Ryujinx.Input.SDL2
                 return;
             }
 
+            GC.SuppressFinalize(this);
             _isDisposed = true;
         }
     }

+ 1 - 1
src/Ryujinx.UI.Common/App/ApplicationData.cs

@@ -19,7 +19,7 @@ namespace Ryujinx.UI.App.Common
 {
     public class ApplicationData
     {
-        public static Func<string> LocalizedNever = () => "Never";
+        public static Func<string> LocalizedNever { get; set; } = () => "Never";
 
         public bool Favorite { get; set; }
         public byte[] Icon { get; set; }