mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-03-27 06:51:06 +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.