Skip to content

Commit

Permalink
JitCache: Disable fast block map on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Jan 16, 2024
1 parent a08b069 commit 38734e6
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 @@ -86,8 +86,12 @@ void JitBaseBlockCache::Clear()
m_block_map_arena.GrabSHMSegment(FAST_BLOCK_MAP_SIZE, "dolphin-emu-jitblock");
}

#ifndef IPHONEOS
m_fast_block_map =
reinterpret_cast<JitBlock**>(m_block_map_arena.CreateView(0, FAST_BLOCK_MAP_SIZE));
#else
m_fast_block_map = nullptr;
#endif

if (m_fast_block_map)
{
Expand Down

0 comments on commit 38734e6

Please sign in to comment.