mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 14:04:55 +00:00
fix clang
This commit is contained in:
parent
1057e5beef
commit
9f4e2e82c1
@ -541,7 +541,9 @@ int Pthread::SetAffinity(const Cpuset* cpuset) {
|
||||
return POSIX_ESRCH;
|
||||
}
|
||||
|
||||
/* We don't use this currently because some games gets performance problems when applying affinity even on strong hardware
|
||||
// We don't use this currently because some games gets performance problems
|
||||
// when applying affinity event
|
||||
/*
|
||||
#ifdef _WIN64
|
||||
DWORD_PTR affinity_mask = static_cast<DWORD_PTR>(mask);
|
||||
if (!SetThreadAffinityMask(reinterpret_cast<HANDLE>(handle), affinity_mask)) {
|
||||
|
Loading…
Reference in New Issue
Block a user