Skip to content

Commit

Permalink
Apple - don't call mkdir needlessly (libretro#15954)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Nov 27, 2023
1 parent d8c444d commit 1aeac90
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/drivers/platform_darwin.m
Original file line number Diff line number Diff line change
Expand Up @@ -474,16 +474,6 @@ static void frontend_darwin_get_env(int *argc, char *argv[],
temp_dir,
sizeof(g_defaults.dirs[DEFAULT_DIR_CACHE]));

path_mkdir(bundle_path_buf);

if (access(bundle_path_buf, 0755) != 0) { }
else
{
path_mkdir(g_defaults.dirs[DEFAULT_DIR_SYSTEM]);

if (access(g_defaults.dirs[DEFAULT_DIR_SYSTEM], 0755) != 0) { }
}

#ifndef IS_SALAMANDER
dir_check_defaults("custom.ini");
#endif
Expand Down

0 comments on commit 1aeac90

Please sign in to comment.