mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-21 18:37:54 -05: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.