logging: minor trace optimizations

This commit is contained in:
Megamouse 2023-06-12 03:47:20 +02:00
parent a90858193e
commit 16f869fe5a
9 changed files with 36 additions and 17 deletions

View file

@ -251,7 +251,8 @@ namespace rsx
if ((location & ~7) != (CELL_GCM_CONTEXT_DMA_NOTIFY_MAIN_0 & ~7))
{
rsx_log.trace("NV4097_NOTIFY: invalid context = 0x%x", method_registers.context_dma_notify());
if (rsx_log.trace)
rsx_log.trace("NV4097_NOTIFY: invalid context = 0x%x", method_registers.context_dma_notify());
return;
}