mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(Android/iOS/Blackberry) Add default shader dir for Blackberry/iOS/Android
This commit is contained in:
parent
119666b807
commit
e8cddd9191
12
settings.c
12
settings.c
@ -301,10 +301,18 @@ void config_set_defaults(void)
|
||||
#elif defined(IOS)
|
||||
strlcpy(g_extern.overlay_dir, "/Applications/RetroArch.app/overlays/", sizeof(g_extern.overlay_dir));
|
||||
#elif defined(ANDROID)
|
||||
//FIXME
|
||||
// what to do on Android with /data/data/org.retroarch/cache/Overlays? Can't seem to access or do anything wih this path on a Galaxy S3
|
||||
strlcpy(g_extern.overlay_dir, "/data/data/org.retroarch/cache/Overlays/", sizeof(g_extern.overlay_dir));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
|
||||
#if defined(__QNX__)
|
||||
strlcpy(g_settings.video.shader_dir, "/app/native/shaders_glsl/", sizeof(g_settings.video.shader_dir));
|
||||
#elif defined(IOS)
|
||||
strlcpy(g_settings.video.shader_dir, "/Applications/RetroArch.app/shaders_glsl/", sizeof(g_settings.video.shader_dir));
|
||||
#elif defined(ANDROID)
|
||||
strlcpy(g_settings.video.shader_dir, "/data/data/org.retroarch/cache/Shaders/", sizeof(g_settings.video.shader_dir));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
g_extern.config_save_on_exit = config_save_on_exit;
|
||||
|
Loading…
Reference in New Issue
Block a user