Cleanups
This commit is contained in:
parent
dca622b4a8
commit
ef039c2c08
|
@ -2521,12 +2521,13 @@ void video_driver_frame(const void *data, unsigned width,
|
||||||
audio_statistics_t audio_stats = {0.0f};
|
audio_statistics_t audio_stats = {0.0f};
|
||||||
double stddev = 0.0;
|
double stddev = 0.0;
|
||||||
struct retro_system_av_info *av_info = &video_driver_av_info;
|
struct retro_system_av_info *av_info = &video_driver_av_info;
|
||||||
bool measure_frame_time = video_monitor_fps_statistics(NULL, &stddev, NULL);
|
|
||||||
unsigned red = 255;
|
unsigned red = 255;
|
||||||
unsigned green = 255;
|
unsigned green = 255;
|
||||||
unsigned blue = 255;
|
unsigned blue = 255;
|
||||||
unsigned alpha = 255;
|
unsigned alpha = 255;
|
||||||
|
|
||||||
|
video_monitor_fps_statistics(NULL, &stddev, NULL);
|
||||||
|
|
||||||
video_info.osd_stat_params.x = 0.010f;
|
video_info.osd_stat_params.x = 0.010f;
|
||||||
video_info.osd_stat_params.y = 0.950f;
|
video_info.osd_stat_params.y = 0.950f;
|
||||||
video_info.osd_stat_params.scale = 1.0f;
|
video_info.osd_stat_params.scale = 1.0f;
|
||||||
|
|
|
@ -40,10 +40,6 @@ static char* copy_core_to_temp_file(void);
|
||||||
static bool write_file_with_random_name(char **tempDllPath,
|
static bool write_file_with_random_name(char **tempDllPath,
|
||||||
const char *retroarchTempPath, const void* data, ssize_t dataSize);
|
const char *retroarchTempPath, const void* data, ssize_t dataSize);
|
||||||
|
|
||||||
static void* InputListElementConstructor(void);
|
|
||||||
|
|
||||||
static void secondary_core_clear(void);
|
|
||||||
|
|
||||||
static bool secondary_core_create(void);
|
static bool secondary_core_create(void);
|
||||||
|
|
||||||
bool secondary_core_run_no_input_polling(void);
|
bool secondary_core_run_no_input_polling(void);
|
||||||
|
@ -182,13 +178,6 @@ bool write_file_with_random_name(char **tempDllPath,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void secondary_core_clear(void)
|
|
||||||
{
|
|
||||||
secondary_library_path = NULL;
|
|
||||||
secondary_module = NULL;
|
|
||||||
memset(&secondary_core, 0, sizeof(struct retro_core_t));
|
|
||||||
}
|
|
||||||
|
|
||||||
bool secondary_core_create(void)
|
bool secondary_core_create(void)
|
||||||
{
|
{
|
||||||
long port, device;
|
long port, device;
|
||||||
|
|
Loading…
Reference in New Issue