From 0b6b147939c3abd1f98ecf639fb1ee51c5a445a1 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 4 Feb 2018 12:30:51 -0500 Subject: WaitProcessWideKeyAtomic: Handle case where condition variable was already created. --- src/core/hle/kernel/condition_variable.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/hle/kernel/condition_variable.h') diff --git a/src/core/hle/kernel/condition_variable.h b/src/core/hle/kernel/condition_variable.h index 0d54031cb..1c9f06769 100644 --- a/src/core/hle/kernel/condition_variable.h +++ b/src/core/hle/kernel/condition_variable.h @@ -19,12 +19,10 @@ public: * Creates a condition variable. * @param guest_addr Address of the object tracking the condition variable in guest memory. If * specified, this condition variable will update the guest object when its state changes. - * @param mutex_addr Optional address of a guest mutex associated with this condition variable, - * used by the OS for implementing events. * @param name Optional name of condition variable. * @return The created condition variable. */ - static ResultVal> Create(VAddr guest_addr, VAddr mutex_addr = 0, + static ResultVal> Create(VAddr guest_addr, std::string name = "Unknown"); std::string GetTypeName() const override { -- cgit v1.2.3