mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Use path_mkdir
This commit is contained in:
parent
7b1b137866
commit
1421d1da30
@ -22,6 +22,7 @@
|
||||
#include <queues/task_queue.h>
|
||||
#include <retro_stat.h>
|
||||
#include <file/file_path.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
@ -158,7 +159,7 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
|
||||
{
|
||||
const char *dir_path = g_defaults.dirs[i];
|
||||
if (!string_is_empty(dir_path))
|
||||
check_defaults_dir_create_dir(dir_path);
|
||||
path_mkdir(dir_path);
|
||||
}
|
||||
|
||||
snprintf(g_defaults.settings.menu, sizeof(g_defaults.settings.menu), "rgui");
|
||||
|
@ -225,7 +225,7 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
{
|
||||
const char *dir_path = g_defaults.dirs[i];
|
||||
if (!string_is_empty(dir_path))
|
||||
check_defaults_dir_create_dir(dir_path);
|
||||
path_mkdir(dir_path);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,11 +20,12 @@
|
||||
#include <libgen.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include <bps/bps.h>
|
||||
#include <packageinfo.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "../../defaults.h"
|
||||
#include "../../dynamic.h"
|
||||
#include "../../verbosity.h"
|
||||
@ -159,7 +160,7 @@ static void frontend_qnx_get_environment_settings(int *argc, char *argv[],
|
||||
{
|
||||
const char *dir_path = g_defaults.dirs[i];
|
||||
if (!string_is_empty(dir_path))
|
||||
check_defaults_dir_create_dir(dir_path);
|
||||
path_mkdir(dir_path);
|
||||
}
|
||||
|
||||
/* set glui as default menu */
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <boolean.h>
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
#include <lists/file_list.h>
|
||||
@ -118,7 +119,7 @@ static void frontend_wiiu_get_environment_settings(int *argc, char *argv[],
|
||||
{
|
||||
const char *dir_path = g_defaults.dirs[i];
|
||||
if (!string_is_empty(dir_path))
|
||||
check_defaults_dir_create_dir(dir_path);
|
||||
path_mkdir(dir_path);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user