Sfoglia il codice sorgente

misc: Fix the issues blocking PRs

Evan Husted 1 anno fa
parent
commit
8b75ce1d98

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

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

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

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

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

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