mirror of
https://github.com/citra-mirror/citra.git
synced 2024-08-23 12:50:41 +02:00
Kernel/Mutex: Add a missing return in Mutex::Release
Fixes a regression in #3042. Closes #3079
This commit is contained in:
parent
8ba2de1580
commit
ff17773c28
@ -88,6 +88,8 @@ ResultCode Mutex::Release(Thread* thread) {
|
|||||||
WakeupAllWaitingThreads();
|
WakeupAllWaitingThreads();
|
||||||
Core::System::GetInstance().PrepareReschedule();
|
Core::System::GetInstance().PrepareReschedule();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return RESULT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Mutex::AddWaitingThread(SharedPtr<Thread> thread) {
|
void Mutex::AddWaitingThread(SharedPtr<Thread> thread) {
|
||||||
|
Loading…
Reference in New Issue
Block a user