aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.SDL2.Common/SDL2Driver.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.SDL2.Common/SDL2Driver.cs')
-rw-r--r--src/Ryujinx.SDL2.Common/SDL2Driver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.SDL2.Common/SDL2Driver.cs b/src/Ryujinx.SDL2.Common/SDL2Driver.cs
index c41c6269..5e2deb26 100644
--- a/src/Ryujinx.SDL2.Common/SDL2Driver.cs
+++ b/src/Ryujinx.SDL2.Common/SDL2Driver.cs
@@ -41,7 +41,7 @@ namespace Ryujinx.SDL2.Common
private ConcurrentDictionary<uint, Action<SDL_Event>> _registeredWindowHandlers;
- private object _lock = new object();
+ private readonly object _lock = new();
private SDL2Driver() {}