mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue