mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
SPU: Use usermode waiting for busy GETLLAR loop
This commit is contained in:
parent
dddd12f66b
commit
6adc7f9ee6
3 changed files with 78 additions and 1 deletions
|
|
@ -358,6 +358,13 @@ bool utils::has_appropriate_um_wait()
|
|||
#endif
|
||||
}
|
||||
|
||||
// Similar to the above function but allow execution if alternatives such as yield are not wanted
|
||||
bool utils::has_um_wait()
|
||||
{
|
||||
static const bool g_value = (has_waitx() || has_waitpkg()) && get_tsc_freq();
|
||||
return g_value;
|
||||
}
|
||||
|
||||
u32 utils::get_rep_movsb_threshold()
|
||||
{
|
||||
static const u32 g_value = []()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue