revert c4250ab
. causes segfaults when autosave_interval > 0.
This commit is contained in:
parent
c118ec20ea
commit
b6e6127e03
|
@ -1602,7 +1602,7 @@ void rarch_disk_control_append_image(const char *path)
|
||||||
* started out in a single disk case, and that this way
|
* started out in a single disk case, and that this way
|
||||||
* of doing it makes the most sense. */
|
* of doing it makes the most sense. */
|
||||||
set_paths(path);
|
set_paths(path);
|
||||||
rarch_main_command(RARCH_CMD_SAVEFILES_INIT);
|
fill_pathnames();
|
||||||
}
|
}
|
||||||
|
|
||||||
rarch_main_command(RARCH_CMD_AUTOSAVE_INIT);
|
rarch_main_command(RARCH_CMD_AUTOSAVE_INIT);
|
||||||
|
@ -1899,7 +1899,7 @@ static bool init_core(void)
|
||||||
if (!g_extern.libretro_dummy)
|
if (!g_extern.libretro_dummy)
|
||||||
{
|
{
|
||||||
if (!g_extern.libretro_no_content)
|
if (!g_extern.libretro_no_content)
|
||||||
rarch_main_command(RARCH_CMD_SAVEFILES_INIT);
|
fill_pathnames();
|
||||||
|
|
||||||
if (!init_content_file())
|
if (!init_content_file())
|
||||||
return false;
|
return false;
|
||||||
|
@ -2558,7 +2558,6 @@ bool rarch_main_command(unsigned cmd)
|
||||||
break;
|
break;
|
||||||
case RARCH_CMD_SAVEFILES_INIT:
|
case RARCH_CMD_SAVEFILES_INIT:
|
||||||
rarch_main_command(RARCH_CMD_SAVEFILES_DEINIT);
|
rarch_main_command(RARCH_CMD_SAVEFILES_DEINIT);
|
||||||
fill_pathnames();
|
|
||||||
|
|
||||||
g_extern.use_sram = g_extern.use_sram && !g_extern.sram_save_disable
|
g_extern.use_sram = g_extern.use_sram && !g_extern.sram_save_disable
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
|
|
Loading…
Reference in New Issue