mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(Android) Default libretro path directory
This commit is contained in:
parent
f2e85f9b9b
commit
32acec4ab9
@ -308,6 +308,12 @@ static const char *default_libretro_info_path = "/Applications/RetroArch.app/inf
|
||||
static const char *default_libretro_info_path = NULL;
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID)
|
||||
static const char *default_libretro_path = "/data/data/com.retroarch/cores/";
|
||||
#else
|
||||
static const char *default_libretro_path = NULL;
|
||||
#endif
|
||||
|
||||
// Crop overscanned frames.
|
||||
static const bool crop_overscan = true;
|
||||
|
||||
|
@ -344,6 +344,9 @@ void config_set_defaults(void)
|
||||
if (default_shader_dir)
|
||||
strlcpy(g_settings.video.shader_dir, default_shader_dir, sizeof(g_settings.video.shader_dir));
|
||||
|
||||
if (default_libretro_path)
|
||||
strlcpy(g_settings.libretro, default_libretro_path, sizeof(g_settings.libretro));
|
||||
|
||||
if (default_libretro_info_path)
|
||||
strlcpy(g_settings.libretro_info_path, default_libretro_info_path, sizeof(g_settings.libretro_info_path));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user