From e76867196e4ce6d6a421cbfbdb96b291e3cb4202 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sun, 19 May 2019 23:32:40 +0200 Subject: [PATCH] Allow zero timeouts to be set with SetDebugLoopTimeOut --- TitanEngine/TitanEngine.Debugger.DebugLoop.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp index 56f35e0..19cb8ef 100644 --- a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp +++ b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp @@ -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; }