1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

Fix sys_timer_usleep specifically with 0 sleep time

Remove context switch, replace it with host yield() for giving some cpu time for SPUs ans RSX
This commit is contained in:
eladash 2019-03-23 09:08:36 +02:00 committed by Ivan
parent 8185ef7610
commit 90490f775d

View File

@ -331,7 +331,7 @@ error_code sys_timer_usleep(ppu_thread& ppu, u64 sleep_time)
}
else
{
lv2_obj::yield(ppu);
std::this_thread::yield();
}
return CELL_OK;