Permalink
Browse files

x86jit: Fix safemem on WX exclusive.

  • Loading branch information...
unknownbrackets committed Dec 28, 2017
1 parent 8c3b0aa commit 48fe0168f17583aa533fa7007f42f06cd1594c2c
Showing with 2 additions and 0 deletions.
  1. +2 −0 Core/MIPS/x86/JitSafeMem.cpp
@@ -440,6 +440,7 @@ void JitSafeMemFuncs::Init(ThunkManager *thunks) {
AllocCodeSpace(FUNCS_ARENA_SIZE);
thunks_ = thunks;
BeginWrite();
readU32 = GetCodePtr();
CreateReadFunc(32, (const void *)&Memory::Read_U32);
readU16 = GetCodePtr();
@@ -453,6 +454,7 @@ void JitSafeMemFuncs::Init(ThunkManager *thunks) {
CreateWriteFunc(16, (const void *)&Memory::Write_U16);
writeU8 = GetCodePtr();
CreateWriteFunc(8, (const void *)&Memory::Write_U8);
EndWrite();
}
void JitSafeMemFuncs::Shutdown() {

0 comments on commit 48fe016

Please sign in to comment.