From ff17773c28b184fb66bb5cc6ab23116280b548b7 Mon Sep 17 00:00:00 2001 From: Sebastian Valle Date: Sun, 5 Nov 2017 21:31:22 -0500 Subject: [PATCH] Kernel/Mutex: Add a missing return in Mutex::Release Fixes a regression in #3042. Closes #3079 --- src/core/hle/kernel/mutex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index d559c06bee..e7bf0ede16 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -88,6 +88,8 @@ ResultCode Mutex::Release(Thread* thread) { WakeupAllWaitingThreads(); Core::System::GetInstance().PrepareReschedule(); } + + return RESULT_SUCCESS; } void Mutex::AddWaitingThread(SharedPtr thread) {