mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(Libretro mgmt) Move comments to header
This commit is contained in:
parent
62d01cbca7
commit
07a2803515
@ -20,14 +20,8 @@
|
|||||||
|
|
||||||
#include "rarch_console_libretro_mgmt.h"
|
#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
|
#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)
|
static void rarch_console_name_from_id(char *name, size_t size)
|
||||||
{
|
{
|
||||||
if (size == 0)
|
if (size == 0)
|
||||||
@ -138,14 +132,10 @@ bool rarch_manage_libretro_extension_supported(const char *filename)
|
|||||||
return ext_supported;
|
return ext_supported;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#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)
|
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);
|
struct string_list *dir_list = dir_list_new(libretro_path, exe_ext, false);
|
||||||
|
|
||||||
const char * first_exe;
|
const char * first_exe;
|
||||||
|
@ -27,11 +27,19 @@ enum
|
|||||||
#endif
|
#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);
|
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
|
#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,
|
bool rarch_configure_libretro_core(const char *full_path, const char *tmp_path,
|
||||||
const char *libretro_path, const char *config_path, const char *extension);
|
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);
|
bool rarch_manage_libretro_extension_supported(const char *filename);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user