Merge pull request #3080 from citra-emu/Subv-ReleaseMutex-Return
Kernel/Mutex: Add a missing return in Mutex::Release
This commit is contained in:
commit
1300c96995
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue