mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
LV2: Optimizations and fixes
Fix and optimize sys_ppu_thread_yield Fix LV2 syscalls with timeout bug. (use ppu_thread::cancel_sleep instead) Move timeout notification out of mutex scope Allow g_waiting timeouts to be awaked in scope
This commit is contained in:
parent
cba4c3cdc4
commit
c4cc0154be
10 changed files with 260 additions and 202 deletions
|
@ -3404,7 +3404,7 @@ namespace rsx
|
|||
if (target_rsx_flip_time > time + 1000)
|
||||
{
|
||||
const auto delay_us = target_rsx_flip_time - time;
|
||||
lv2_obj::wait_timeout<false, false>(delay_us);
|
||||
lv2_obj::wait_timeout(delay_us, nullptr, false);
|
||||
performance_counters.idle_time += delay_us;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue