rsx: Improve profiling setup

- Avoid spamming QPC when not needed
- Free performance when debug overlay is not enabled
This commit is contained in:
kd-11 2019-06-18 21:31:35 +03:00 committed by kd-11
parent b893a75002
commit d26b25816d
6 changed files with 58 additions and 51 deletions

View file

@ -436,8 +436,8 @@ namespace rsx
on_init_thread();
method_registers.init();
g_dma_manager.init();
m_profiler.enabled = !!g_cfg.video.overlay;
if (!zcull_ctrl)
{