From 8529addcc67e83663033390e1b0501caca97209e Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 29 Jul 2013 09:56:50 +0200 Subject: [PATCH] Removing the 'Clearing code cache' OSD message in Release builds --- Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp index 889c51520c..7923fbf274 100644 --- a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp +++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp @@ -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++) {