SVC: Fixed ArbitrateAddress to behave as it does on hardware.

This was verified with hwtests that i plan to upload later on.
This commit is contained in:
Subv 2015-12-27 18:44:42 -05:00
parent 031443199b
commit 29032ce9b6
2 changed files with 18 additions and 9 deletions

View file

@ -300,7 +300,7 @@ static void ThreadWakeupCallback(u64 thread_handle, int cycles_late) {
thread->waitsynch_waited = false;
if (thread->status == THREADSTATUS_WAIT_SYNCH) {
if (thread->status == THREADSTATUS_WAIT_SYNCH || thread->status == THREADSTATUS_WAIT_ARB) {
thread->SetWaitSynchronizationResult(ResultCode(ErrorDescription::Timeout, ErrorModule::OS,
ErrorSummary::StatusChanged, ErrorLevel::Info));