perf hotfix for sys_timer_usleep

This commit is contained in:
Eladash 2019-07-30 17:15:15 +03:00
parent f0bd0b5a7c
commit 72fb3ba794
3 changed files with 9 additions and 7 deletions

View file

@ -307,7 +307,7 @@ error_code sys_timer_usleep(ppu_thread& ppu, u64 sleep_time)
if (sleep_time)
{
lv2_obj::sleep(ppu, 0);
lv2_obj::sleep(ppu, sleep_time);
lv2_obj::wait_timeout<true>(sleep_time);