rsx: Make debug overlay dynamic

This commit is contained in:
kd-11 2020-12-14 20:26:20 +03:00 committed by kd-11
parent 0ef5743261
commit fb1c790350
7 changed files with 22 additions and 20 deletions

View file

@ -478,7 +478,6 @@ namespace rsx
on_init_thread();
method_registers.init();
m_profiler.enabled = !!g_cfg.video.overlay;
if (!zcull_ctrl)
{
@ -2843,6 +2842,7 @@ namespace rsx
// Reset current stats
m_frame_stats = {};
m_profiler.enabled = !!g_cfg.video.overlay;
}
void thread::request_emu_flip(u32 buffer)