JitCodeBuffer: Allocate within 32-bit range

This commit is contained in:
Stenzek
2023-11-24 19:53:46 +10:00
parent ca1dd27d4a
commit 5cf41a41f3
3 changed files with 95 additions and 19 deletions

View File

@ -48,6 +48,8 @@ public:
static void FlushInstructionCache(void* address, u32 size);
private:
bool TryAllocateAt(const void* addr);
u8* m_code_ptr = nullptr;
u8* m_free_code_ptr = nullptr;
u32 m_code_size = 0;