mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 01:12:33 +00:00
(OSX) Add default video filter dir for OSX
This commit is contained in:
parent
9c5f92c883
commit
82f4f1a83a
@ -165,6 +165,7 @@ static void frontend_apple_get_environment_settings(int *argc, char *argv[],
|
||||
fill_pathname_join(g_defaults.assets_dir, bundle_path_buf, "Contents/Resources/modules/assets", sizeof(g_defaults.assets_dir));
|
||||
fill_pathname_join(g_defaults.shader_dir, bundle_path_buf, "Contents/Resources/modules/shaders", sizeof(g_defaults.shader_dir));
|
||||
fill_pathname_join(g_defaults.audio_filter_dir, bundle_path_buf, "Contents/Resources/modules/audio_filters", sizeof(g_defaults.audio_filter_dir));
|
||||
fill_pathname_join(g_defaults.video_filter_dir, bundle_path_buf, "Contents/Resources/modules/video_filters", sizeof(g_defaults.video_filter_dir));
|
||||
fill_pathname_join(g_defaults.menu_config_dir, support_path_buf, "RetroArch", sizeof(g_defaults.menu_config_dir));
|
||||
fill_pathname_join(g_defaults.config_path, g_defaults.menu_config_dir, "retroarch.cfg", sizeof(g_defaults.config_path));
|
||||
#endif
|
||||
|
@ -200,6 +200,7 @@ struct defaults
|
||||
char core_path[PATH_MAX];
|
||||
char autoconfig_dir[PATH_MAX];
|
||||
char audio_filter_dir[PATH_MAX];
|
||||
char video_filter_dir[PATH_MAX];
|
||||
char assets_dir[PATH_MAX];
|
||||
char core_dir[PATH_MAX];
|
||||
char core_info_dir[PATH_MAX];
|
||||
|
@ -532,6 +532,9 @@ static void config_set_defaults(void)
|
||||
if (*g_defaults.audio_filter_dir)
|
||||
strlcpy(g_settings.audio.filter_dir,
|
||||
g_defaults.audio_filter_dir, sizeof(g_settings.audio.filter_dir));
|
||||
if (*g_defaults.video_filter_dir)
|
||||
strlcpy(g_settings.video.filter_dir,
|
||||
g_defaults.video_filter_dir, sizeof(g_settings.video.filter_dir));
|
||||
if (*g_defaults.assets_dir)
|
||||
strlcpy(g_settings.assets_directory,
|
||||
g_defaults.assets_dir, sizeof(g_settings.assets_directory));
|
||||
|
Loading…
x
Reference in New Issue
Block a user