mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Create config_get_active_core_path_size
This commit is contained in:
parent
3da2b1b0b0
commit
628367d201
@ -3169,6 +3169,12 @@ bool config_active_core_path_is_empty(void)
|
||||
return !settings->path.libretro[0];
|
||||
}
|
||||
|
||||
size_t config_get_active_core_path_size(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
return sizeof(settings->path.libretro);
|
||||
}
|
||||
|
||||
void config_set_active_core_path(const char *path)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
@ -655,6 +655,8 @@ void config_clear_active_core_path(void);
|
||||
|
||||
bool config_active_core_path_is_empty(void);
|
||||
|
||||
size_t config_get_active_core_path_size(void);
|
||||
|
||||
void config_free_state(void);
|
||||
|
||||
settings_t *config_get_ptr(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user