mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 01:43:37 +00:00
Cleanups
This commit is contained in:
parent
6c8fb89773
commit
cb03dcc58f
@ -272,12 +272,8 @@ static int deferred_push_core_information(void *data, void *userdata,
|
||||
static int deferred_push_system_information(void *data, void *userdata,
|
||||
const char *path, const char *label, unsigned type)
|
||||
{
|
||||
unsigned i;
|
||||
file_list_t *list = (file_list_t*)data;
|
||||
file_list_t *menu_list = (file_list_t*)userdata;
|
||||
settings_t *settings = config_get_ptr();
|
||||
driver_t *driver = driver_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
if (!list || !menu_list)
|
||||
return -1;
|
||||
|
@ -504,7 +504,6 @@ static int action_iterate_main(const char *label, unsigned action)
|
||||
menu_file_list_cbs_t *cbs = NULL;
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (!menu)
|
||||
return 0;
|
||||
|
||||
|
@ -172,7 +172,7 @@ static void print_help(void)
|
||||
puts(RETRO_FRONTEND ": Frontend for libretro -- v" PACKAGE_VERSION " --");
|
||||
#endif
|
||||
rarch_print_compiler(str, sizeof(str));
|
||||
fprintf(stdout, str);
|
||||
fprintf(stdout, "%s", str);
|
||||
fprintf(stdout, "Built: %s\n", __DATE__);
|
||||
puts("===================================================================");
|
||||
puts("Usage: retroarch [content file] [options...]");
|
||||
@ -1103,7 +1103,7 @@ int rarch_main_init(int argc, char *argv[])
|
||||
|
||||
RARCH_LOG_OUTPUT("=== Build =======================================");
|
||||
rarch_print_compiler(str, sizeof(str));
|
||||
fprintf(stderr, str);
|
||||
fprintf(stderr, "%s", str);
|
||||
fprintf(stderr, "Built: %s\n", __DATE__);
|
||||
RARCH_LOG_OUTPUT("Version: %s\n", PACKAGE_VERSION);
|
||||
#ifdef HAVE_GIT_VERSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user