mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Menu) Minor nits
This commit is contained in:
parent
df53c6b6e7
commit
a71d9d2811
@ -5306,12 +5306,11 @@ static void menu_common_setting_set_label(char *type_str, size_t type_str_size,
|
||||
{
|
||||
#ifdef PERF_TEST
|
||||
const struct retro_perf_counter **counters = (const struct retro_perf_counter**)perf_counters_rarch;
|
||||
unsigned num = perf_ptr_rarch;
|
||||
|
||||
if (counters[type] && counters[type]->ident && counters[type]->call_cnt && counters[type]->total)
|
||||
if (counters[type])
|
||||
{
|
||||
snprintf(type_str, type_str_size, PERF_LOG_FMT,
|
||||
(unsigned long long)counters[type]->total / (unsigned long long)counters[type]->call_cnt,
|
||||
((unsigned long long)counters[type]->total / (unsigned long long)counters[type]->call_cnt),
|
||||
(unsigned long long)counters[type]->call_cnt);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user