From 07a2803515e542f3414437cb6d42f692b525f41f Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 5 Aug 2012 21:55:53 +0200 Subject: [PATCH] (Libretro mgmt) Move comments to header --- console/rarch_console_libretro_mgmt.c | 10 ---------- console/rarch_console_libretro_mgmt.h | 8 ++++++++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/console/rarch_console_libretro_mgmt.c b/console/rarch_console_libretro_mgmt.c index 10df6013ee..253f6459ff 100644 --- a/console/rarch_console_libretro_mgmt.c +++ b/console/rarch_console_libretro_mgmt.c @@ -20,14 +20,8 @@ #include "rarch_console_libretro_mgmt.h" -// if a CORE executable exists (full_path), this means we have just installed -// a new libretro port and therefore we need to change it to a more -// sane name. - #ifndef IS_SALAMANDER -// Transforms a library id to a name suitable as a pathname. - static void rarch_console_name_from_id(char *name, size_t size) { if (size == 0) @@ -138,14 +132,10 @@ bool rarch_manage_libretro_extension_supported(const char *filename) return ext_supported; } - #endif void rarch_manage_libretro_set_first_file(char *first_file, size_t size_of_first_file, const char *libretro_path, const char * exe_ext) { - //We need to set libretro to the first entry in the cores - //directory so that it will be saved to the config file - struct string_list *dir_list = dir_list_new(libretro_path, exe_ext, false); const char * first_exe; diff --git a/console/rarch_console_libretro_mgmt.h b/console/rarch_console_libretro_mgmt.h index cd11b181ab..6a452a23fa 100644 --- a/console/rarch_console_libretro_mgmt.h +++ b/console/rarch_console_libretro_mgmt.h @@ -27,11 +27,19 @@ enum #endif }; +//We need to set libretro to the first entry in the cores +//directory so that it will be saved to the config file void rarch_manage_libretro_set_first_file(char *first_file, size_t size_of_first_file, const char *libretro_path, const char * exe_ext); #ifndef IS_SALAMANDER + +// if a CORE executable exists (full_path), this means we have just installed +// a new libretro port and therefore we need to change it to a more +// sane name. bool rarch_configure_libretro_core(const char *full_path, const char *tmp_path, const char *libretro_path, const char *config_path, const char *extension); + +// Transforms a library id to a name suitable as a pathname. bool rarch_manage_libretro_extension_supported(const char *filename); #endif