From 6b7cd458e3956d381f92eeef595336f62ad7c227 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 29 Apr 2019 22:29:00 +0300 Subject: [PATCH] rsx: Silence some diagnostics unless compiled with debugging options --- rpcs3/Emu/RSX/Common/texture_cache.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcs3/Emu/RSX/Common/texture_cache.h b/rpcs3/Emu/RSX/Common/texture_cache.h index 9102c7499e..66fc91d5cf 100644 --- a/rpcs3/Emu/RSX/Common/texture_cache.h +++ b/rpcs3/Emu/RSX/Common/texture_cache.h @@ -2314,6 +2314,7 @@ namespace rsx return result; } +#ifdef TEXTURE_CACHE_DEBUG else { LOG_ERROR(RSX, "Area merge failed! addr=0x%x, w=%d, h=%d, gcm_format=0x%x[sz=%d]", texaddr, tex_width, tex_height, format, !(tex.format() & CELL_GCM_TEXTURE_LN)); @@ -2326,6 +2327,7 @@ namespace rsx } //LOG_TRACE(RSX, "Partial memory recovered from cache; may require WCB/WDB to properly gather all the data"); } +#endif // TEXTURE_CACHE_DEBUG } }