(3DS) Only enable internal counter with CONSOLE_LOG defined (#14388)

This commit is contained in:
MrHuu 2022-09-05 20:31:23 +02:00 committed by GitHub
parent 7ae555a51d
commit 1c31efaa91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1399,6 +1399,7 @@ static bool ctr_frame(void* data, const void* frame,
ctr->vsync_event_pending = true;
#ifdef CONSOLE_LOG
/* Internal counters/statistics
* > This is only required if the bottom screen is enabled */
if (ctr_bottom_screen_enabled)
@ -1464,6 +1465,7 @@ static bool ctr_frame(void* data, const void* frame,
#endif
fflush(stdout);
}
#endif
if (ctr->should_resize)
ctr_update_viewport(ctr, settings,