mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Cleanups
This commit is contained in:
parent
329f6ad612
commit
ed2b89db27
11
paths.c
11
paths.c
@ -482,6 +482,10 @@ const char *path_get(enum rarch_path_type type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case RARCH_PATH_CORE_OPTIONS:
|
||||
if (!path_is_core_options_empty())
|
||||
return path_core_options_file;
|
||||
break;
|
||||
case RARCH_PATH_SUBSYSTEM:
|
||||
return subsystem_path;
|
||||
case RARCH_PATH_CONFIG:
|
||||
@ -625,13 +629,6 @@ void path_clear_core_options(void)
|
||||
|
||||
|
||||
|
||||
const char *path_get_core_options(void)
|
||||
{
|
||||
if (!path_is_core_options_empty())
|
||||
return path_core_options_file;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Append config file path */
|
||||
|
||||
|
2
paths.h
2
paths.h
@ -88,8 +88,6 @@ const char *path_get_current_savefile_dir(void);
|
||||
|
||||
const char *path_get_basename(void);
|
||||
|
||||
const char *path_get_core_options(void);
|
||||
|
||||
bool path_get_default_shader_preset(char **preset);
|
||||
|
||||
/* clear functions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user