mirror of https://github.com/x64dbg/TitanEngine
Allow zero timeouts to be set with SetDebugLoopTimeOut
This commit is contained in:
parent
8e79163e4d
commit
e76867196e
|
|
@ -1195,10 +1195,5 @@ __declspec(dllexport) void TITCALL DebugLoopEx(DWORD TimeOut)
|
||||||
|
|
||||||
__declspec(dllexport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut)
|
__declspec(dllexport) void TITCALL SetDebugLoopTimeOut(DWORD TimeOut)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(TimeOut == NULL)
|
|
||||||
{
|
|
||||||
TimeOut = INFINITE;
|
|
||||||
}
|
|
||||||
engineWaitForDebugEventTimeOut = TimeOut;
|
engineWaitForDebugEventTimeOut = TimeOut;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue