mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-10-03 15:25:50 -05:00
"Exists" method should be used instead of the "Any" extension (#5345)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user