JitCodeBuffer: Fix far code pointer not being initialized without reset

This commit is contained in:
Connor McLaughlin 2019-12-20 21:22:14 +10:00
parent 3596eb3548
commit 1de096224c
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ JitCodeBuffer::JitCodeBuffer(u32 size /* = 64 * 1024 * 1024 */, u32 far_code_siz
m_code_used = 0; m_code_used = 0;
m_far_code_ptr = static_cast<u8*>(m_code_ptr) + size; m_far_code_ptr = static_cast<u8*>(m_code_ptr) + size;
m_free_far_code_ptr = m_far_code_ptr;
m_far_code_size = far_code_size; m_far_code_size = far_code_size;
m_far_code_used = 0; m_far_code_used = 0;