1
0
mirror of synced 2024-11-14 23:07:36 +01:00

fix thread creation

This commit is contained in:
nzgamer41 2021-08-25 21:11:20 +12:00
parent 4567de4d2a
commit 3cda55b2cd

View File

@ -483,7 +483,7 @@ unsigned char saveDatadxp[0x2000];
// return 1;
//}
unsigned __stdcall forceFT(void* pArguments)
static DWORD WINAPI forceFT(void* pArguments)
{
while (true) {
Sleep(16);
@ -902,7 +902,7 @@ static void LoadWmmt5CarData()
}
if (ToBool(config["Tune"]["Force Full Tune"]))
{
_beginthreadex(0, 0, &forceFT, 0, 0, 0);
CreateThread(0, 0, forceFT, 0, 0, 0);
}
memset(carFileNamedxp, 0, 0xFF);