citra-emu
/
citra-canary
Archived
1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

View File

@ -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) {