misc: chore: Fix possible NullReferenceExceptions, InvalidOperationExceptions

This commit is contained in:
KeatonTheBot
2025-09-30 15:05:14 -05:00
parent fa682d406e
commit 51b32981b6
15 changed files with 70 additions and 49 deletions
@@ -48,7 +48,7 @@ namespace Ryujinx.Graphics.Vulkan
return false;
}
if (SetDescriptors != null)
if (SetDescriptors != null && other.SetDescriptors != null)
{
if (SetDescriptors.Count != other.SetDescriptors.Count)
{