diff options
author | RSDuck <RSDuck@users.noreply.github.com> | 2020-11-09 20:43:31 +0100 |
---|---|---|
committer | RSDuck <RSDuck@users.noreply.github.com> | 2020-11-09 20:43:31 +0100 |
commit | 78839f862e6bd1a8d0a3d99737bd377c5dccf11f (patch) | |
tree | 24924fc921938e3a13160bce7b24d2d6d7c6049d /src/ARMJIT_A64/ARMJIT_Compiler.h | |
parent | ec232a936537a0a3eda5f164c038c503a7af506e (diff) |
JIT fixes
- fix fastmem problems on linux
- small fix memory leak
- SlowWrite functions always take in a 32-bit variable so that the C compiler knows that the values aren't necessary zero extended
- a few other stylistic things
- handle SIGBUS as well (for macos)
Diffstat (limited to 'src/ARMJIT_A64/ARMJIT_Compiler.h')
-rw-r--r-- | src/ARMJIT_A64/ARMJIT_Compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ARMJIT_A64/ARMJIT_Compiler.h b/src/ARMJIT_A64/ARMJIT_Compiler.h index ef40ea4..a79e9da 100644 --- a/src/ARMJIT_A64/ARMJIT_Compiler.h +++ b/src/ARMJIT_A64/ARMJIT_Compiler.h @@ -214,8 +214,8 @@ public: return (u8*)entry - GetRXBase(); } - bool IsJITFault(u64 pc); - s64 RewriteMemAccess(u64 pc); + bool IsJITFault(u8* pc); + u8* RewriteMemAccess(u8* pc); void SwapCodeRegion() { |