mirror of
https://github.com/libretro/RetroArch
synced 2025-02-26 15:39:55 +00:00
Create core_info_ctl
This commit is contained in:
parent
4448145532
commit
e1bd5ca335
12
core_info.c
12
core_info.c
@ -659,3 +659,15 @@ void core_info_list_get_missing_firmware(
|
||||
qsort(info->firmware, info->firmware_count, sizeof(*info->firmware),
|
||||
core_info_firmware_cmp);
|
||||
}
|
||||
|
||||
bool core_info_ctl(enum core_info_state state, void *data)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case CORE_INFO_CTL_NONE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -24,6 +24,11 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum core_info_state
|
||||
{
|
||||
CORE_INFO_CTL_NONE = 0
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char *path;
|
||||
@ -112,6 +117,8 @@ void core_info_get_name(const char *path, char *s, size_t len);
|
||||
|
||||
core_info_t *core_info_get(core_info_list_t *list, size_t i);
|
||||
|
||||
bool core_info_ctl(enum core_info_state action, void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user