diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2020-07-08 23:08:25 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-07-08 23:08:25 +0200 |
commit | 3786660099e6517a9230ec6f76559b72aa1660fd (patch) | |
tree | e81c25213d2dad4af78492597f05692372de0b3f /src/dolphin | |
parent | 778623a8b7ded3a66fc838840ce85626f5feed05 (diff) |
misc JIT changes
Diffstat (limited to 'src/dolphin')
-rw-r--r-- | src/dolphin/Arm64Emitter.cpp | 5 | ||||
-rw-r--r-- | src/dolphin/Arm64Emitter.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphin/Arm64Emitter.cpp b/src/dolphin/Arm64Emitter.cpp index dd2416b..97c93ba 100644 --- a/src/dolphin/Arm64Emitter.cpp +++ b/src/dolphin/Arm64Emitter.cpp @@ -340,6 +340,11 @@ void* ARM64XEmitter::GetRXPtr() return m_rxbase + m_code; } +u8* ARM64XEmitter::GetRXBase() +{ + return m_rxbase; +} + void ARM64XEmitter::ReserveCodeSpace(u32 bytes) { for (u32 i = 0; i < bytes / 4; i++) diff --git a/src/dolphin/Arm64Emitter.h b/src/dolphin/Arm64Emitter.h index 3d9d4ba..3efc838 100644 --- a/src/dolphin/Arm64Emitter.h +++ b/src/dolphin/Arm64Emitter.h @@ -556,6 +556,7 @@ public: const u8* GetRWPtr(); u8* GetWriteableRWPtr(); void* GetRXPtr(); + u8* GetRXBase(); void FlushIcache(); void FlushIcacheSection(u8* start, u8* end); |