Allow zero timeouts to be set with SetDebugLoopTimeOut

This commit is contained in:
Duncan Ogilvie 2019-05-19 23:32:40 +02:00
parent 8e79163e4d
commit e76867196e
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 0 additions and 5 deletions

View File

@ -1195,10 +1195,5 @@ __declspec(dllexport) void TITCALL DebugLoopEx(DWORD TimeOut)
__declspec(dllexport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut)
{
if(TimeOut == NULL)
{
TimeOut = INFINITE;
}
engineWaitForDebugEventTimeOut = TimeOut;
}