Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12174 from AdmiralCurtiss/jitcache-32bit
Core/JitCache: Don't try to allocate the fast block map on 32-bit builds.
  • Loading branch information
JosJuice committed Sep 7, 2023
2 parents cc01b4b + cf2a1f2 commit 57e56f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 57e56f4

Please sign in to comment.