Skip to content

Commit daccac9

Browse files
authored
Merge pull request #16166 from fjtrujy/fix_cwd_path
[PS2] Required after toolchain upgrade: Fixing usage of `cwd`
2 parents 71edae5 + 3e0a4fa commit daccac9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/drivers/platform_ps2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static void create_path_names(void)
6464
{
6565
char user_path[FILENAME_MAX];
6666
size_t _len = strlcpy(user_path, cwd, sizeof(user_path));
67-
strlcpy(user_path + _len, "retroarch", sizeof(user_path) - _len);
67+
strlcpy(user_path + _len, "/retroarch", sizeof(user_path) - _len);
6868
fill_pathname_basedir(g_defaults.dirs[DEFAULT_DIR_PORT], cwd, sizeof(g_defaults.dirs[DEFAULT_DIR_PORT]));
6969

7070
/* Content in the same folder */

0 commit comments

Comments
 (0)