Create config_get_active_core_path_size
This commit is contained in:
parent
3da2b1b0b0
commit
628367d201
2 changed files with 8 additions and 0 deletions
|
@ -3169,6 +3169,12 @@ bool config_active_core_path_is_empty(void)
|
||||||
return !settings->path.libretro[0];
|
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)
|
void config_set_active_core_path(const char *path)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
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);
|
bool config_active_core_path_is_empty(void);
|
||||||
|
|
||||||
|
size_t config_get_active_core_path_size(void);
|
||||||
|
|
||||||
void config_free_state(void);
|
void config_free_state(void);
|
||||||
|
|
||||||
settings_t *config_get_ptr(void);
|
settings_t *config_get_ptr(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue