mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-05-14 17:30:08 +00:00

Exit from AddMutexWaiter early if the thread is already waiting for a mutex owned by the owner thread. This accounts for the possibility of a thread that is waiting on a condition variable being awakened twice in a row. Also added more validation asserts. This should fix one of the random crashes in Breath Of The Wild.