This commit is contained in:
twinaphex 2016-02-04 20:58:53 +01:00
parent 878c4e3833
commit dbef4d9b2b
4 changed files with 14 additions and 11 deletions

View file

@ -74,7 +74,8 @@ bool core_option_flush(core_option_manager_t *opt);
* Returns: true (1) if core option values could be
* successfully saved to disk, otherwise false (0).
**/
bool core_option_flush_game_specific(core_option_manager_t *opt, char* path);
bool core_option_flush_game_specific(
core_option_manager_t *opt, char* path);
/**
* core_option_free:
@ -84,7 +85,8 @@ bool core_option_flush_game_specific(core_option_manager_t *opt, char* path);
**/
void core_option_free(core_option_manager_t *opt);
void core_option_get(core_option_manager_t *opt, struct retro_variable *var);
void core_option_get(core_option_manager_t *opt,
struct retro_variable *var);
/**
* core_option_size:
@ -105,7 +107,8 @@ size_t core_option_size(core_option_manager_t *opt);
*
* Returns: Description for an option.
**/
const char *core_option_get_desc(core_option_manager_t *opt, size_t idx);
const char *core_option_get_desc(core_option_manager_t *opt,
size_t idx);
/**
* core_option_get_val:
@ -116,7 +119,8 @@ const char *core_option_get_desc(core_option_manager_t *opt, size_t idx);
*
* Returns: Value for an option.
**/
const char *core_option_get_val(core_option_manager_t *opt, size_t idx);
const char *core_option_get_val(core_option_manager_t *opt,
size_t idx);
/**
* core_option_get_vals:

View file

@ -117,10 +117,8 @@ void database_info_free(database_info_handle_t *handle);
int database_info_build_query(
char *query, size_t len, const char *label, const char *path);
/*
* NOTE: Allocates memory, it is the caller's responsibility to free the
* memory after it is no longer required.
*/
/* NOTE: Allocates memory, it is the caller's responsibility to free the
* memory after it is no longer required. */
char *bin_to_hex_alloc(const uint8_t *data, size_t len);
#ifdef __cplusplus

View file

@ -77,5 +77,4 @@ struct defaults
/* Public data structures. */
extern struct defaults g_defaults;
#endif

View file

@ -144,7 +144,8 @@ struct retro_core_t
void (*retro_cheat_reset)(void);
void (*retro_cheat_set)(unsigned, bool, const char*);
bool (*retro_load_game)(const struct retro_game_info*);
bool (*retro_load_game_special)(unsigned, const struct retro_game_info*, size_t);
bool (*retro_load_game_special)(unsigned,
const struct retro_game_info*, size_t);
void (*retro_unload_game)(void);
unsigned (*retro_get_region)(void);
void *(*retro_get_memory_data)(unsigned);
@ -160,7 +161,8 @@ struct retro_core_t
* Initializes libretro symbols and
* setups environment callback functions.
**/
void init_libretro_sym(enum rarch_core_type type, struct retro_core_t *core);
void init_libretro_sym(enum rarch_core_type type,
struct retro_core_t *core);
/**
* uninit_libretro_sym: