diff --git a/state_manager.c b/state_manager.c index 98ea01bbc5..b886708d15 100644 --- a/state_manager.c +++ b/state_manager.c @@ -597,7 +597,6 @@ void state_manager_event_init( | STATE_MGR_REWIND_ST_FLAG_HOTKEY_WAS_CHECKED | STATE_MGR_REWIND_ST_FLAG_HOTKEY_WAS_PRESSED ); - rewind_st->flags |= STATE_MGR_REWIND_ST_FLAG_INIT_ATTEMPTED; /* We cannot initialise the rewind buffer * unless the core info struct for the current @@ -607,6 +606,8 @@ void state_manager_event_init( if (!core_info_get_current_core(&core_info) || !core_info) return; + rewind_st->flags |= STATE_MGR_REWIND_ST_FLAG_INIT_ATTEMPTED; + if (!core_info_current_supports_rewind()) { RARCH_ERR("%s\n", msg_hash_to_str(MSG_REWIND_UNSUPPORTED));