diff options
-rw-r--r-- | Ryujinx.Common/ReactiveObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Common/ReactiveObject.cs b/Ryujinx.Common/ReactiveObject.cs index 8495c78f..44897f26 100644 --- a/Ryujinx.Common/ReactiveObject.cs +++ b/Ryujinx.Common/ReactiveObject.cs @@ -34,7 +34,7 @@ namespace Ryujinx.Common _readerWriterLock.ReleaseWriterLock(); - if (!oldIsInitialized || !oldValue.Equals(_value)) + if (!oldIsInitialized || oldValue == null || !oldValue.Equals(_value)) { Event?.Invoke(this, new ReactiveEventArgs<T>(oldValue, value)); } |