From 1de096224ced3d04f04857ba192e6de7265fdf81 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 20 Dec 2019 21:22:14 +1000 Subject: [PATCH] JitCodeBuffer: Fix far code pointer not being initialized without reset --- src/common/jit_code_buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/jit_code_buffer.cpp b/src/common/jit_code_buffer.cpp index 4d41aff8c..59114b7a4 100644 --- a/src/common/jit_code_buffer.cpp +++ b/src/common/jit_code_buffer.cpp @@ -35,6 +35,7 @@ JitCodeBuffer::JitCodeBuffer(u32 size /* = 64 * 1024 * 1024 */, u32 far_code_siz m_code_used = 0; m_far_code_ptr = static_cast(m_code_ptr) + size; + m_free_far_code_ptr = m_far_code_ptr; m_far_code_size = far_code_size; m_far_code_used = 0;