summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/condition_variable.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-04 22:25:05 +0100
committerGitHub <noreply@github.com>2018-02-04 22:25:05 +0100
commit1ddc18454ed37a0defb34e60e875cdf1e963f77f (patch)
tree3e7b5c928b3edda7521154f27fb048bdeee92270 /src/core/hle/kernel/condition_variable.cpp
parentMerge pull request #159 from mailwl/acc0-fix (diff)
parentGetInfo: Implement IsCurrentProcessBeingDebugged. (diff)
downloadyuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.gz
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.bz2
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.lz
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.xz
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.tar.zst
yuzu-1ddc18454ed37a0defb34e60e875cdf1e963f77f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/condition_variable.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/condition_variable.cpp b/src/core/hle/kernel/condition_variable.cpp
index 561666384..a786d7f74 100644
--- a/src/core/hle/kernel/condition_variable.cpp
+++ b/src/core/hle/kernel/condition_variable.cpp
@@ -15,13 +15,12 @@ ConditionVariable::ConditionVariable() {}
ConditionVariable::~ConditionVariable() {}
ResultVal<SharedPtr<ConditionVariable>> ConditionVariable::Create(VAddr guest_addr,
- VAddr mutex_addr,
std::string name) {
SharedPtr<ConditionVariable> condition_variable(new ConditionVariable);
condition_variable->name = std::move(name);
condition_variable->guest_addr = guest_addr;
- condition_variable->mutex_addr = mutex_addr;
+ condition_variable->mutex_addr = 0;
// Condition variables are referenced by guest address, so track this in the kernel
g_object_address_table.Insert(guest_addr, condition_variable);