mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(3DS) Build core info cache
This commit is contained in:
parent
77967f0148
commit
e96cbcac04
951
core_info.c
951
core_info.c
File diff suppressed because it is too large
Load Diff
17
core_info.h
17
core_info.h
@ -89,6 +89,7 @@ typedef struct
|
||||
bool database_match_archive_member;
|
||||
bool is_experimental;
|
||||
bool is_locked;
|
||||
bool is_installed;
|
||||
} core_info_t;
|
||||
|
||||
/* A subset of core_info parameters required for
|
||||
@ -109,6 +110,14 @@ typedef struct
|
||||
size_t info_count;
|
||||
} core_info_list_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
core_info_t *items;
|
||||
size_t length;
|
||||
size_t capacity;
|
||||
bool refresh;
|
||||
} core_info_cache_list_t;
|
||||
|
||||
typedef struct core_info_ctx_firmware
|
||||
{
|
||||
const char *path;
|
||||
@ -203,6 +212,14 @@ core_info_state_t *coreinfo_get_ptr(void);
|
||||
|
||||
bool core_info_core_file_id_is_equal(const char *core_path_a, const char *core_path_b);
|
||||
|
||||
core_info_t *core_info_get_cache(core_info_cache_list_t *list, char *core_file_id);
|
||||
void core_info_add_cache(core_info_cache_list_t *list, core_info_t *info);
|
||||
void core_info_copy(core_info_t *src, core_info_t *dst);
|
||||
void core_info_write_cache_file(core_info_cache_list_t *list, const char *info_dir);
|
||||
core_info_cache_list_t *core_info_read_cache_file(const char *info_dir);
|
||||
core_info_cache_list_t *new_core_info_cache_list(void);
|
||||
void core_info_check_uninstalled(core_info_cache_list_t *list);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif /* CORE_INFO_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user