This commit is contained in:
Emmet Young 2012-09-26 20:38:12 +10:00
commit 8e1b58a7fa
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ void CRecompMemory::CheckRecompMem ( void )
}
if (m_RecompSize == MaxCompileBufferSize)
{
_Recompiler->ResetRecompCode();
return;
}
LPVOID MemAddr = VirtualAlloc( m_RecompCode + m_RecompSize , IncreaseCompileBufferSize, MEM_COMMIT, PAGE_EXECUTE_READWRITE);