mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-15 02:30:01 +01:00
not sure about it.. but compiles..
This commit is contained in:
1 parent
85626024a0
commit
caa797cee3
1 file changed
+2
-1
@@ -1,6 +1,7 @@
|
||||
#include <stdafx.h>
|
||||
#include <Utilities/SMutex.h>
|
||||
|
||||
|
||||
__forceinline void SM_Sleep()
|
||||
{
|
||||
Sleep(1);
|
||||
@@ -8,7 +9,7 @@ __forceinline void SM_Sleep()
|
||||
|
||||
__forceinline size_t SM_GetCurrentThreadId()
|
||||
{
|
||||
return std::this_thread::get_id().hash();
|
||||
return std::hash<std::thread::id>()(std::this_thread::get_id());
|
||||
}
|
||||
|
||||
__forceinline u32 SM_GetCurrentCPUThreadId()
|
||||
|
||||
Reference in new issue
Block a user