rsx: Improve balancing of the offloader thread

- Use two counters to avoid atomic operations
- Yield instead of sleeping because some games are very sensitive to timing
This commit is contained in:
kd-11 2019-06-19 22:01:48 +03:00 committed by kd-11
parent 8249d51aa8
commit 4ff77a8555
4 changed files with 29 additions and 13 deletions

View file

@ -1797,7 +1797,7 @@ bool spu_thread::process_mfc_cmd()
break;
}
thread_ctrl::wait_for(100);
thread_ctrl::wait_for(500);
}
if (test_stopped())