"Exists" method should be used instead of the "Any" extension (#5345)
This commit is contained in:
parent
d604e98227
commit
7608cb37ab
4 changed files with 6 additions and 6 deletions
|
@ -206,7 +206,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
|||
|
||||
WakeThreads(_condVarThreads, count, TryAcquireMutex, x => x.CondVarAddress == address);
|
||||
|
||||
if (!_condVarThreads.Any(x => x.CondVarAddress == address))
|
||||
if (!_condVarThreads.Exists(x => x.CondVarAddress == address))
|
||||
{
|
||||
KernelTransfer.KernelToUser(address, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue