Do not use lv2_obj::g_waiting when not needed in sys_timer_usleep
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user