Merge pull request #12174 from AdmiralCurtiss/jitcache-32bit

Core/JitCache: Don't try to allocate the fast block map on 32-bit builds.
This commit is contained in:
JosJuice 2023-09-07 19:29:04 +02:00 committed by GitHub
commit 57e56f4bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,11 @@ void JitBaseBlockCache::Init()
{
Common::JitRegister::Init(Config::Get(Config::MAIN_PERF_MAP_DIR));
#ifdef _ARCH_64
m_fast_block_map = reinterpret_cast<JitBlock**>(m_block_map_arena.Create(FAST_BLOCK_MAP_SIZE));
#else
m_fast_block_map = nullptr;
#endif
if (m_fast_block_map)
m_fast_block_map_ptr = m_fast_block_map;
else