Should fix remaining SRAM issues

This commit is contained in:
twinaphex 2014-10-13 19:40:40 +02:00
parent 98c5e466a7
commit 26ceac8bf7

View File

@ -67,10 +67,8 @@ static void menu_environment_get(int *argc, char *argv[],
if (!g_extern.has_set_verbosity)
wrap_args->verbose = g_extern.verbosity;
wrap_args->config_path = *g_extern.config_path ? g_extern.config_path : NULL;
if (!g_extern.has_set_save_path)
wrap_args->sram_path = *g_extern.savefile_dir ? g_extern.savefile_dir : NULL;
if (!g_extern.has_set_state_path)
wrap_args->state_path = *g_extern.savestate_dir ? g_extern.savestate_dir : NULL;
wrap_args->sram_path = *g_extern.savefile_dir ? g_extern.savefile_dir : NULL;
wrap_args->state_path = *g_extern.savestate_dir ? g_extern.savestate_dir : NULL;
wrap_args->content_path = *g_extern.fullpath ? g_extern.fullpath : NULL;
if (!g_extern.has_set_libretro)
wrap_args->libretro_path = *g_settings.libretro ? g_settings.libretro : NULL;