Do not use lv2_obj::g_waiting when not needed in sys_timer_usleep

This commit is contained in:
Eladash 2022-07-21 08:48:17 +03:00 committed by Ivan
parent cb0ecb2afb
commit 6007fd630f
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ error_code sys_timer_usleep(ppu_thread& ppu, u64 sleep_time)
if (sleep_time)
{
lv2_obj::sleep(ppu, sleep_time);
lv2_obj::sleep(ppu, g_cfg.core.sleep_timers_accuracy < sleep_timers_accuracy_level::_usleep ? sleep_time : 0);
if (!lv2_obj::wait_timeout<true>(sleep_time))
{