Modified OutputBlaster to add sleep etc
This commit is contained in:
parent
3ddfcee91e
commit
d8fb3ba55e
@ -51,7 +51,11 @@ DWORD WINAPI QuitGameThread(__in LPVOID lpParameter)
|
||||
{
|
||||
system("taskkill /f /im InpWrapper.exe");
|
||||
}
|
||||
TerminateProcess(GetCurrentProcess(), 0);
|
||||
if (blaster)
|
||||
{
|
||||
FreeLibrary(blaster);
|
||||
}
|
||||
TerminateProcess(GetCurrentProcess(), 0);
|
||||
#endif
|
||||
//ExitProcess(0);
|
||||
}
|
||||
@ -83,10 +87,11 @@ DWORD WINAPI OutputsThread(__in LPVOID lpParameter)
|
||||
}
|
||||
if (GetAsyncKeyState(VK_ESCAPE))
|
||||
{
|
||||
FreeLibrary(blaster);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Sleep(300);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user