summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/condition_variable.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-04 18:30:51 +0100
committerbunnei <bunneidev@gmail.com>2018-02-04 18:30:51 +0100
commit0b6b147939c3abd1f98ecf639fb1ee51c5a445a1 (patch)
treef1211ba8e29d7e3eae11fc64453e3e71ee4711c1 /src/core/hle/kernel/condition_variable.cpp
parentsvc: SharedMemory size should be 64-bits and cleanup. (diff)
downloadyuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar.gz
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar.bz2
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar.lz
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar.xz
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.tar.zst
yuzu-0b6b147939c3abd1f98ecf639fb1ee51c5a445a1.zip
Diffstat (limited to 'src/core/hle/kernel/condition_variable.cpp')
-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);