summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/event.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-07-21 18:50:49 -0400
committerGravatar bunnei2014-08-05 20:14:51 -0400
commit7a1f813be15aca815893139b1de125f4e3f47d84 (patch)
tree5ca441fb8d06be369f801051c9100eb6f97981c3 /src/core/hle/kernel/event.cpp
parentQt: Removed unnecessary HW::Update. (diff)
downloadyuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.gz
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.xz
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.zip
Kernel: Updated Event and Mutex to specify handle that they are blocking for.
Diffstat (limited to 'src/core/hle/kernel/event.cpp')
-rw-r--r--src/core/hle/kernel/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp
index 127c0cfc6..1e417e09c 100644
--- a/src/core/hle/kernel/event.cpp
+++ b/src/core/hle/kernel/event.cpp
@@ -42,7 +42,7 @@ public:
42 if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) { 42 if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
43 waiting_threads.push_back(thread); 43 waiting_threads.push_back(thread);
44 } 44 }
45 Kernel::WaitCurrentThread(WAITTYPE_EVENT); 45 Kernel::WaitCurrentThread(WAITTYPE_EVENT, GetHandle());
46 } 46 }
47 if (reset_type != RESETTYPE_STICKY && !permanent_locked) { 47 if (reset_type != RESETTYPE_STICKY && !permanent_locked) {
48 locked = true; 48 locked = true;