Reset recompiler code when buffer gets to full
This commit is contained in:
parent
f391e1db6c
commit
e12e24f572
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue