mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Cleanups
This commit is contained in:
parent
a6f95b307f
commit
1c868ffaa2
12
retroarch.c
12
retroarch.c
@ -383,10 +383,10 @@ static void retroarch_set_special_paths(char **argv, unsigned num_content)
|
||||
/* If this is already set,
|
||||
* do not overwrite it as this was initialized before in
|
||||
* a menu or otherwise. */
|
||||
if (!string_is_empty(settings->directory.system))
|
||||
return;
|
||||
|
||||
if (string_is_empty(settings->directory.system))
|
||||
{
|
||||
RARCH_WARN("SYSTEM DIR is empty, assume CONTENT DIR %s\n",argv[0]);
|
||||
}
|
||||
}
|
||||
|
||||
const char *retroarch_get_current_savefile_dir(void)
|
||||
@ -1176,13 +1176,13 @@ static bool retroarch_init_state(void)
|
||||
|
||||
bool retroarch_validate_game_options(char *s, size_t len, bool mkdir)
|
||||
{
|
||||
char core_path[PATH_MAX_LENGTH];
|
||||
char config_directory[PATH_MAX_LENGTH];
|
||||
char core_path[PATH_MAX_LENGTH] = {0};
|
||||
char config_directory[PATH_MAX_LENGTH] = {0};
|
||||
const char *core_name = NULL;
|
||||
const char *game_name = NULL;
|
||||
rarch_system_info_t *system = NULL;
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
rarch_system_info_t *system = NULL;
|
||||
|
||||
runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user