Skip to content

Commit

Permalink
If no override aiming is active, we need to disable loop.
Browse files Browse the repository at this point in the history
This was causing low performance problem, when it's disabled, it needs to skip init or key checks.
  • Loading branch information
bo3b committed Dec 8, 2014
1 parent f80d655 commit a17b547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NVAPI/DllMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ static int __cdecl NvAPI_D3D_GetCurrentSLIState(__in IUnknown *pDevice, __in D3D
DWORD WINAPI AimOverride(LPVOID empty)
{
//while (true)
if (InputDevice[0]) // If not defined, no overrides.
{
// Idle time between user key presses. This is 3x 1/60 second.
//Sleep(50);
Expand Down

0 comments on commit a17b547

Please sign in to comment.