"Exists" method should be used instead of the "Any" extension (#5345)

This commit is contained in:
Marco Carvalho
2023-06-23 01:37:25 +02:00
committed by GitHub
parent d604e98227
commit 7608cb37ab
4 changed files with 6 additions and 6 deletions
@@ -512,7 +512,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <returns>True if at least one of the handles is dirty</returns>
private bool CheckDirty()
{
return Handles.Any(handle => handle.Dirty);
return Array.Exists(Handles, handle => handle.Dirty);
}
/// <summary>