mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
Nits
This commit is contained in:
parent
878c4e3833
commit
dbef4d9b2b
@ -74,7 +74,8 @@ bool core_option_flush(core_option_manager_t *opt);
|
|||||||
* Returns: true (1) if core option values could be
|
* Returns: true (1) if core option values could be
|
||||||
* successfully saved to disk, otherwise false (0).
|
* 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:
|
* 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_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:
|
* core_option_size:
|
||||||
@ -105,7 +107,8 @@ size_t core_option_size(core_option_manager_t *opt);
|
|||||||
*
|
*
|
||||||
* Returns: Description for an option.
|
* 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:
|
* 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.
|
* 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:
|
* core_option_get_vals:
|
||||||
|
@ -117,10 +117,8 @@ void database_info_free(database_info_handle_t *handle);
|
|||||||
int database_info_build_query(
|
int database_info_build_query(
|
||||||
char *query, size_t len, const char *label, const char *path);
|
char *query, size_t len, const char *label, const char *path);
|
||||||
|
|
||||||
/*
|
/* NOTE: Allocates memory, it is the caller's responsibility to free the
|
||||||
* NOTE: Allocates memory, it is the caller's responsibility to free the
|
* memory after it is no longer required. */
|
||||||
* memory after it is no longer required.
|
|
||||||
*/
|
|
||||||
char *bin_to_hex_alloc(const uint8_t *data, size_t len);
|
char *bin_to_hex_alloc(const uint8_t *data, size_t len);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -77,5 +77,4 @@ struct defaults
|
|||||||
/* Public data structures. */
|
/* Public data structures. */
|
||||||
extern struct defaults g_defaults;
|
extern struct defaults g_defaults;
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -144,7 +144,8 @@ struct retro_core_t
|
|||||||
void (*retro_cheat_reset)(void);
|
void (*retro_cheat_reset)(void);
|
||||||
void (*retro_cheat_set)(unsigned, bool, const char*);
|
void (*retro_cheat_set)(unsigned, bool, const char*);
|
||||||
bool (*retro_load_game)(const struct retro_game_info*);
|
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);
|
void (*retro_unload_game)(void);
|
||||||
unsigned (*retro_get_region)(void);
|
unsigned (*retro_get_region)(void);
|
||||||
void *(*retro_get_memory_data)(unsigned);
|
void *(*retro_get_memory_data)(unsigned);
|
||||||
@ -160,7 +161,8 @@ struct retro_core_t
|
|||||||
* Initializes libretro symbols and
|
* Initializes libretro symbols and
|
||||||
* setups environment callback functions.
|
* 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:
|
* uninit_libretro_sym:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user