Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing the 'Clearing code cache' OSD message in Release builds
  • Loading branch information
delroth committed Jul 29, 2013
1 parent 531c299 commit 8529add
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp
Expand Up @@ -120,10 +120,12 @@ bool JitBlock::ContainsAddress(u32 em_address)
// is full and when saving and loading states.
void JitBaseBlockCache::Clear()
{
#if defined(_DEBUG) || defined(DEBUGFAST)
if (IsFull())
Core::DisplayMessage("Clearing block cache.", 3000);
else
Core::DisplayMessage("Clearing code cache.", 3000);
#endif

for (int i = 0; i < num_blocks; i++)
{
Expand Down

0 comments on commit 8529add

Please sign in to comment.