Rename retro_perf_clear

This commit is contained in:
twinaphex 2016-05-16 10:00:50 +02:00
parent 281a33d61f
commit fd951be053
3 changed files with 3 additions and 3 deletions

View File

@ -587,7 +587,7 @@ void uninit_libretro_sym(struct retro_core_t *current_core)
location_driver_ctl(RARCH_LOCATION_CTL_UNSET_ACTIVE, NULL);
/* Performance counters no longer valid. */
retro_perf_clear();
performance_counters_clear();
}
static void rarch_log_libretro(enum retro_log_level level,

View File

@ -84,7 +84,7 @@ void retro_perf_register(struct retro_perf_counter *perf)
perf->registered = true;
}
void retro_perf_clear(void)
void performance_counters_clear(void)
{
perf_ptr_libretro = 0;
memset(perf_counters_libretro, 0, sizeof(perf_counters_libretro));

View File

@ -51,7 +51,7 @@ void retro_perf_register(struct retro_perf_counter *perf);
/* Same as retro_perf_register, just for libretro cores. */
void retro_perf_register(struct retro_perf_counter *perf);
void retro_perf_clear(void);
void performance_counters_clear(void);
void retro_perf_log(void);