diff options
author | RSDuck <RSDuck@users.noreply.github.com> | 2020-07-09 00:11:47 +0200 |
---|---|---|
committer | RSDuck <RSDuck@users.noreply.github.com> | 2020-07-09 00:11:47 +0200 |
commit | 3827fa562fc67ae25c152a8c861c4671a68a1ccb (patch) | |
tree | 896ce9d14cc86affded095b59de1f3d9d70df1d1 | |
parent | 1519b3d5fa639b1e29598d29cf7e0bdaa2c166c4 (diff) |
another try
-rw-r--r-- | src/ARMJIT_A64/ARMJIT_Compiler.cpp | 2 | ||||
-rw-r--r-- | src/dolphin/Arm64Emitter.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ARMJIT_A64/ARMJIT_Compiler.cpp b/src/ARMJIT_A64/ARMJIT_Compiler.cpp index 42435ed..62323ff 100644 --- a/src/ARMJIT_A64/ARMJIT_Compiler.cpp +++ b/src/ARMJIT_A64/ARMJIT_Compiler.cpp @@ -218,7 +218,7 @@ Compiler::Compiler() mprotect(pageAligned, alignedSize, PROT_EXEC | PROT_READ | PROT_WRITE); SetCodeBase(pageAligned, pageAligned); - JitMemUseableSize = alignedSize; + JitMemMainSize = alignedSize; #endif SetCodePtr(0); diff --git a/src/dolphin/Arm64Emitter.h b/src/dolphin/Arm64Emitter.h index 3efc838..4c49502 100644 --- a/src/dolphin/Arm64Emitter.h +++ b/src/dolphin/Arm64Emitter.h @@ -6,6 +6,7 @@ #include <cstring> #include <functional> +#include <stdint.h> #include "ArmCommon.h" #include "BitSet.h" @@ -765,6 +766,7 @@ public: void UXTH(ARM64Reg Rd, ARM64Reg Rn); void UBFX(ARM64Reg Rd, ARM64Reg Rn, int lsb, int width) { UBFM(Rd, Rn, lsb, lsb + width - 1); } + void SBFX(ARM64Reg Rd, ARM64Reg Rn, int lsb, int width) { SBFM(Rd, Rn, lsb, lsb + width - 1); } // Load Register (Literal) void LDR(ARM64Reg Rt, u32 imm); void LDRSW(ARM64Reg Rt, u32 imm); |