summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-22 00:50:49 +0200
committerbunnei <bunneidev@gmail.com>2014-08-06 02:14:51 +0200
commit7a1f813be15aca815893139b1de125f4e3f47d84 (patch)
tree5ca441fb8d06be369f801051c9100eb6f97981c3 /src/core/hle/kernel
parentQt: Removed unnecessary HW::Update. (diff)
downloadyuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.gz
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.bz2
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.lz
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.xz
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.tar.zst
yuzu-7a1f813be15aca815893139b1de125f4e3f47d84.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/event.cpp2
-rw-r--r--src/core/hle/kernel/mutex.cpp2
2 files changed, 2 insertions, 2 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:
if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) {
waiting_threads.push_back(thread);
}
- Kernel::WaitCurrentThread(WAITTYPE_EVENT);
+ Kernel::WaitCurrentThread(WAITTYPE_EVENT, GetHandle());
}
if (reset_type != RESETTYPE_STICKY && !permanent_locked) {
locked = true;
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 1ccf1eb73..055f503f9 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -48,7 +48,7 @@ public:
*wait = locked;
if (locked) {
- Kernel::WaitCurrentThread(WAITTYPE_MUTEX);
+ Kernel::WaitCurrentThread(WAITTYPE_MUTEX, GetHandle());
}
return 0;