mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
emscripten and psp frontend driver cleanups
This commit is contained in:
parent
8b2434a408
commit
d551b00787
@ -98,7 +98,7 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
|
||||
fill_pathname_join(g_defaults.dir.core, base_path,
|
||||
"cores", sizeof(g_defaults.dir.core));
|
||||
|
||||
/* data from the retroarch bundle */
|
||||
/* bundle data */
|
||||
fill_pathname_join(g_defaults.dir.assets, base_path,
|
||||
"bundle/assets", sizeof(g_defaults.dir.assets));
|
||||
fill_pathname_join(g_defaults.dir.autoconfig, base_path,
|
||||
@ -122,7 +122,7 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
|
||||
fill_pathname_join(g_defaults.dir.menu_config, user_path,
|
||||
"config", sizeof(g_defaults.dir.menu_config));
|
||||
fill_pathname_join(g_defaults.dir.menu_content, user_path,
|
||||
"content", sizeof(g_defaults.dir.thumbnails));
|
||||
"content", sizeof(g_defaults.dir.menu_content));
|
||||
fill_pathname_join(g_defaults.dir.core_assets, user_path,
|
||||
"downloads", sizeof(g_defaults.dir.core_assets));
|
||||
fill_pathname_join(g_defaults.dir.playlist, user_path,
|
||||
@ -141,9 +141,10 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
|
||||
"thumbnails", sizeof(g_defaults.dir.thumbnails));
|
||||
|
||||
/* cache dir */
|
||||
fill_pathname_join(g_defaults.dir.cache, "/tmp/retroarch/",
|
||||
"system", sizeof(g_defaults.dir.system));
|
||||
fill_pathname_join(g_defaults.dir.cache, "/tmp/",
|
||||
"retroarch", sizeof(g_defaults.dir.cache));
|
||||
|
||||
/* history and main config */
|
||||
strlcpy(g_defaults.dir.content_history,
|
||||
user_path, sizeof(g_defaults.dir.content_history));
|
||||
fill_pathname_join(g_defaults.path.config, user_path,
|
||||
|
@ -139,6 +139,7 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
"CORES", sizeof(g_defaults.dir.core));
|
||||
fill_pathname_join(g_defaults.dir.core_info, g_defaults.dir.port,
|
||||
"INFO", sizeof(g_defaults.dir.core_info));
|
||||
|
||||
/* user data */
|
||||
fill_pathname_join(g_defaults.dir.cheats, user_path,
|
||||
"CHEATS", sizeof(g_defaults.dir.cheats));
|
||||
@ -148,7 +149,7 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
"DOWNLOADS", sizeof(g_defaults.dir.core_assets));
|
||||
fill_pathname_join(g_defaults.dir.playlist, user_path,
|
||||
"PLAYLISTS", sizeof(g_defaults.dir.playlist));
|
||||
fill_pathname_join(g_defaults.dir.remap, user_path,
|
||||
fill_pathname_join(g_defaults.dir.remap, g_defaults.dir.menu_config,
|
||||
"REMAPS", sizeof(g_defaults.dir.remap));
|
||||
fill_pathname_join(g_defaults.dir.sram, user_path,
|
||||
"SAVEFILES", sizeof(g_defaults.dir.sram));
|
||||
@ -158,8 +159,12 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
|
||||
"SCREENSHOTS", sizeof(g_defaults.dir.screenshot));
|
||||
fill_pathname_join(g_defaults.dir.system, user_path,
|
||||
"SYSTEM", sizeof(g_defaults.dir.system));
|
||||
|
||||
/* cache dir */
|
||||
fill_pathname_join(g_defaults.dir.cache, user_path,
|
||||
"TEMP", sizeof(g_defaults.dir.cache));
|
||||
|
||||
/* history and main config */
|
||||
strlcpy(g_defaults.dir.content_history,
|
||||
user_path, sizeof(g_defaults.dir.content_history));
|
||||
fill_pathname_join(g_defaults.path.config, user_path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user