mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-10 17:28:54 +02:00
misc: chore: Fix possible NullReferenceExceptions, suppress warnings
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user