Merge pull request #12350 from bulzipke/master

This commit is contained in:
Autechre 2021-05-06 15:57:50 +02:00 committed by GitHub
commit 5aba614b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 928 additions and 40 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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_ */