mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
Do not use lv2_obj::g_waiting when not needed in sys_timer_usleep
This commit is contained in:
parent
cb0ecb2afb
commit
6007fd630f
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user