Check for recompiler in SysEvent_ResetRecompilerCode

This commit is contained in:
zilmar 2019-04-29 06:26:07 +09:30
parent 8088065ef8
commit 7a964b058e
1 changed files with 4 additions and 1 deletions

View File

@ -258,7 +258,10 @@ void CSystemEvents::ExecuteEvents()
} }
break; break;
case SysEvent_ResetRecompilerCode: case SysEvent_ResetRecompilerCode:
g_Recompiler->ResetRecompCode(true); if (g_Recompiler)
{
g_Recompiler->ResetRecompCode(true);
}
break; break;
default: default:
g_Notify->BreakPoint(__FILE__, __LINE__); g_Notify->BreakPoint(__FILE__, __LINE__);