mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Fix SPU Loop Detection
This commit is contained in:
parent
3602d45cb7
commit
b9b591bf02
3 changed files with 19 additions and 0 deletions
|
@ -2335,7 +2335,10 @@ s64 spu_thread::get_ch_value(u32 ch)
|
|||
|
||||
//Polling: We might as well hint to the scheduler to slot in another thread since this one is counting down
|
||||
if (g_cfg.core.spu_loop_detection && out > spu::scheduler::native_jiffy_duration_us)
|
||||
{
|
||||
state += cpu_flag::wait;
|
||||
std::this_thread::yield();
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue