mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 23:40:07 +00:00
Another attempted fix
This commit is contained in:
parent
5becefcfd4
commit
537c04ac14
@ -39,7 +39,7 @@ public:
|
||||
*wait = locked;
|
||||
if (locked) {
|
||||
Handle thread = GetCurrentThreadHandle();
|
||||
if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
|
||||
if (find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
|
||||
waiting_threads.push_back(thread);
|
||||
}
|
||||
Kernel::WaitCurrentThread(WAITTYPE_EVENT);
|
||||
|
Loading…
Reference in New Issue
Block a user