mirror of https://github.com/PCSX2/pcsx2.git
utilities:threading:windows: Use intrinsic pause
Fixes a 64-bit compile error.
This commit is contained in:
parent
f40b2e641b
commit
768ed80ece
|
@ -33,7 +33,7 @@ __fi void Threading::Sleep( int ms )
|
||||||
// improve performance and reduce cpu power consumption.
|
// improve performance and reduce cpu power consumption.
|
||||||
__fi void Threading::SpinWait()
|
__fi void Threading::SpinWait()
|
||||||
{
|
{
|
||||||
__asm pause;
|
_mm_pause();
|
||||||
}
|
}
|
||||||
|
|
||||||
__fi void Threading::EnableHiresScheduler()
|
__fi void Threading::EnableHiresScheduler()
|
||||||
|
|
Loading…
Reference in New Issue