Skip to content

Commit 3e0a4fa

Browse files
committed
fixing usage of cwd
1 parent 71edae5 commit 3e0a4fa

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)