mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
For platforms without HAVE_THREADS, don't automatically resume content when saving/loading states
This commit is contained in:
parent
b9cdeebf35
commit
4502b58ab3
@ -3255,7 +3255,11 @@ static int action_ok_load_state(const char *path,
|
||||
{
|
||||
if (generic_action_ok_command(CMD_EVENT_LOAD_STATE) == -1)
|
||||
return menu_cbs_exit();
|
||||
#if defined(HAVE_THREADS)
|
||||
return generic_action_ok_command(CMD_EVENT_RESUME);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_ok_save_state(const char *path,
|
||||
@ -3263,7 +3267,11 @@ static int action_ok_save_state(const char *path,
|
||||
{
|
||||
if (generic_action_ok_command(CMD_EVENT_SAVE_STATE) == -1)
|
||||
return menu_cbs_exit();
|
||||
#if defined(HAVE_THREADS)
|
||||
return generic_action_ok_command(CMD_EVENT_RESUME);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_ok_cheevos_toggle_hardcore_mode(const char *path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user