File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1783,7 +1783,7 @@ void CCore::ApplyCoreInitSettings()
1783
1783
1784
1784
// Users with the default skin will be switched to the 2023 version by replacing "Default" with "Default 2023".
1785
1785
// The "Default 2023" GUI skin was introduced in commit 2d9e03324b07e355031ecb3263477477f1a91399.
1786
- if (revision < 21486 )
1786
+ if (revision && revision < 21486 )
1787
1787
{
1788
1788
auto skin = CVARS_GET_VALUE<std::string>(" current_skin" );
1789
1789
@@ -1800,12 +1800,14 @@ void CCore::ApplyCoreInitSettings()
1800
1800
SetPriorityClass (process, priorities[priority]);
1801
1801
1802
1802
bool affinity = CVARS_GET_VALUE<bool >(" process_cpu_affinity" );
1803
+
1803
1804
if (!affinity)
1804
1805
return ;
1805
1806
1806
1807
DWORD_PTR mask;
1807
1808
DWORD_PTR sys;
1808
1809
BOOL result = GetProcessAffinityMask (process, &mask, &sys);
1810
+
1809
1811
if (result)
1810
1812
SetProcessAffinityMask (process, mask & ~1 );
1811
1813
}
You can’t perform that action at this time.
0 commit comments