misc: chore: Fix possible NullReferenceExceptions, suppress warnings

This commit is contained in:
KeatonTheBot
2025-12-13 13:32:49 -06:00
parent 9920619ff6
commit c70f692324
29 changed files with 100 additions and 80 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ namespace Ryujinx.HLE.UI
public bool Equals(RenderingSurfaceInfo other)
{
return ColorFormat == other.ColorFormat &&
return other != null &&
ColorFormat == other.ColorFormat &&
Width == other.Width &&
Height == other.Height &&
Pitch == other.Pitch &&