mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-03 10:22:24 -07: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.