mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(RARCH_CONSOLE/RARCH_MOBILE) Add default playlist dir for consoles/mobile
This commit is contained in:
parent
756356870b
commit
a71b42e4b3
@ -620,6 +620,8 @@ static void frontend_android_get_environment_settings(int *argc,
|
||||
path, "info", sizeof(g_defaults.core_info_dir));
|
||||
fill_pathname_join(g_defaults.autoconfig_dir,
|
||||
path, "autoconfig", sizeof(g_defaults.autoconfig_dir));
|
||||
fill_pathname_join(g_defaults.playlist_dir,
|
||||
path, "playlists", sizeof(g_defaults.playlist_dir));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -198,6 +198,8 @@ static void frontend_gx_get_environment_settings(int *argc, char *argv[],
|
||||
"savefiles", sizeof(g_defaults.sram_dir));
|
||||
fill_pathname_join(g_defaults.savestate_dir, g_defaults.port_dir,
|
||||
"savefiles", sizeof(g_defaults.savestate_dir));
|
||||
fill_pathname_join(g_defaults.playlist_dir, g_defaults.port_dir,
|
||||
"playlists", sizeof(g_defaults.playlist_dir));
|
||||
|
||||
#ifdef IS_SALAMANDER
|
||||
if (*argc > 2 && argv[1] != NULL && argv[2] != NULL)
|
||||
|
@ -207,6 +207,8 @@ static void frontend_ps3_get_environment_settings(int *argc, char *argv[],
|
||||
"overlays", sizeof(g_defaults.overlay_dir));
|
||||
fill_pathname_join(g_defaults.assets_dir, g_defaults.core_dir,
|
||||
"media", sizeof(g_defaults.assets_dir));
|
||||
fill_pathname_join(g_defaults.playlist_dir, g_defaults.core_dir,
|
||||
"playlists", sizeof(g_defaults.playlist_dir));
|
||||
}
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
|
@ -77,6 +77,8 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
"savefiles", sizeof(g_defaults.sram_dir));
|
||||
fill_pathname_join(g_defaults.system_dir, g_defaults.core_dir,
|
||||
"system", sizeof(g_defaults.system_dir));
|
||||
fill_pathname_join(g_defaults.playlist_dir, g_defaults.core_dir,
|
||||
"playlists", sizeof(g_defaults.playlist_dir));
|
||||
fill_pathname_join(g_defaults.config_path, g_defaults.port_dir,
|
||||
"retroarch.cfg", sizeof(g_defaults.config_path));
|
||||
|
||||
|
@ -55,6 +55,8 @@ static void frontend_qnx_get_environment_settings(int *argc, char *argv[],
|
||||
"lib", sizeof(g_defaults.core_dir));
|
||||
fill_pathname_join(g_defaults.core_info_dir, "app/native",
|
||||
"info", sizeof(g_defaults.core_info_dir));
|
||||
fill_pathname_join(g_defaults.playlist_dir, "app/native",
|
||||
"playlists", sizeof(g_defaults.playlist_dir));
|
||||
}
|
||||
|
||||
const frontend_ctx_driver_t frontend_ctx_qnx = {
|
||||
|
@ -162,6 +162,8 @@ static void frontend_xdk_get_environment_settings(int *argc, char *argv[],
|
||||
"game:", sizeof(g_defaults.screenshot_dir));
|
||||
strlcpy(g_defaults.savestate_dir,
|
||||
"game:\\savestates", sizeof(g_defaults.savestate_dir));
|
||||
strlcpy(g_defaults.playlist_dir,
|
||||
"game:\\playlists", sizeof(g_defaults.playlist_dir));
|
||||
strlcpy(g_defaults.sram_dir,
|
||||
"game:\\savefiles", sizeof(g_defaults.sram_dir));
|
||||
strlcpy(g_defaults.system_dir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user