Skip to content

Commit

Permalink
rsx: Silence some diagnostics unless compiled with debugging options
Browse files Browse the repository at this point in the history
  • Loading branch information
kd-11 committed May 1, 2019
1 parent 124bd8b commit 6263f17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpcs3/Emu/RSX/Common/texture_cache.h
Expand Up @@ -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));
Expand All @@ -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
}
}

Expand Down

0 comments on commit 6263f17

Please sign in to comment.