1
0
mirror of synced 2025-01-21 01:58:52 +01:00

Move Daytona3 taskkill stuff

This commit is contained in:
Poliwrath 2019-05-01 01:27:46 -04:00
parent 97d5fb6d20
commit ccd7294095

View File

@ -40,16 +40,13 @@ DWORD WINAPI QuitGameThread(__in LPVOID lpParameter)
{
while (true)
{
if ((GameDetect::currentGame == GameID::Daytona3) && (GetAsyncKeyState(VK_ESCAPE)))
{
#ifndef _DEBUG
system("taskkill /f /im InpWrapper.exe");
TerminateProcess(GetCurrentProcess(), 0);
#endif
}
else if (GetAsyncKeyState(VK_ESCAPE))
if (GetAsyncKeyState(VK_ESCAPE))
{
#ifndef _DEBUG
if (GameDetect::currentGame == GameID::Daytona3)
{
system("taskkill /f /im InpWrapper.exe");
}
TerminateProcess(GetCurrentProcess(), 0);
#endif
//ExitProcess(0);