Merge pull request #15 from ZehMatt/fix-stepping-state

Fix the stepping issue
This commit is contained in:
Duncan Ogilvie 2023-10-20 14:30:34 +02:00 committed by GitHub
commit a19a7935de
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1431,6 +1431,8 @@ __declspec(dllexport) void TITCALL DebugLoop()
//general unhandled exception callback
if(DBGCode == DBG_EXCEPTION_NOT_HANDLED)
{
engineStepActive = false;
if(DBGCustomHandler->chUnhandledException != NULL)
{
myCustomHandler = (fCustomHandler)((LPVOID)DBGCustomHandler->chUnhandledException);