mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
x86jit: Fix safemem on WX exclusive.
This commit is contained in:
1 parent
8c3b0aa89c
commit
48fe0168f1
1 file changed
+2
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user