mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
platform_ps2.c - Use snprintf
This commit is contained in:
parent
f6a8480f21
commit
ef35adc9d6
@ -43,7 +43,7 @@ static void create_path_names(void)
|
|||||||
{
|
{
|
||||||
char user_path[FILENAME_MAX];
|
char user_path[FILENAME_MAX];
|
||||||
|
|
||||||
sprintf(user_path, "%sretroarch", cwd);
|
snprintf(user_path, sizeof(user_path), "%sretroarch", cwd);
|
||||||
fill_pathname_basedir(g_defaults.dirs[DEFAULT_DIR_PORT], cwd, sizeof(g_defaults.dirs[DEFAULT_DIR_PORT]));
|
fill_pathname_basedir(g_defaults.dirs[DEFAULT_DIR_PORT], cwd, sizeof(g_defaults.dirs[DEFAULT_DIR_PORT]));
|
||||||
|
|
||||||
/* Content in the same folder */
|
/* Content in the same folder */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user