Removing the 'Clearing code cache' OSD message in Release builds

This commit is contained in:
Pierre Bourdon 2013-07-29 09:56:50 +02:00
parent 531c299bde
commit 8529addcc6

View File

@ -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++)
{