diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-06 04:35:36 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-13 15:51:02 +0200 |
commit | f5c7c1543434e25a215286e6db5e71c055ba48cf (patch) | |
tree | 488a3fd0c01051453c6f8ccc4867f6b6ea3f2843 /src/core/hle/kernel/mutex.cpp | |
parent | qt: updated disassembler to show 2X as many instructions (diff) | |
download | yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar.gz yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar.bz2 yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar.lz yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar.xz yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.tar.zst yuzu-f5c7c1543434e25a215286e6db5e71c055ba48cf.zip |
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r-- | src/core/hle/kernel/mutex.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 7e60fbfe0..133c43079 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -46,6 +46,11 @@ public: Result WaitSynchronization(bool* wait) { // TODO(bunnei): ImplementMe *wait = locked; + + if (locked) { + Kernel::WaitCurrentThread(WAITTYPE_MUTEX); + } + return 0; } }; |