make save dirs persistent

This commit is contained in:
radius 2016-08-28 23:49:49 -05:00
parent 456d69d219
commit c75ab63c79

View File

@ -119,6 +119,12 @@ static void frontend_emscripten_get_env(int *argc, char *argv[],
"screenshots", sizeof(g_defaults.dir.screenshot));
fill_pathname_join(g_defaults.dir.thumbnails, base_path,
"thumbnails", sizeof(g_defaults.dir.thumbnails));
fill_pathname_join(g_defaults.dir.sram, base_path,
"saves", sizeof(g_defaults.dir.sram));
fill_pathname_join(g_defaults.dir.savestate, base_path,
"states", sizeof(g_defaults.dir.savestate));
/* don't use XDG for these, we don't want these to Sync to cloud storage*/
fill_pathname_join(g_defaults.dir.menu_content, "/",
"content", sizeof(g_defaults.dir.thumbnails));
fill_pathname_join(g_defaults.dir.assets, "/",