Merge pull request #3080 from citra-emu/Subv-ReleaseMutex-Return

Kernel/Mutex: Add a missing return in Mutex::Release
This commit is contained in:
Weiyi Wang 2017-11-06 14:06:53 +02:00 committed by GitHub
commit 1300c96995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,8 @@ ResultCode Mutex::Release(Thread* thread) {
WakeupAllWaitingThreads();
Core::System::GetInstance().PrepareReschedule();
}
return RESULT_SUCCESS;
}
void Mutex::AddWaitingThread(SharedPtr<Thread> thread) {