event_init_content - cleanup

This commit is contained in:
twinaphex 2019-06-06 13:41:20 +02:00
parent b87c9fd495
commit 58056a409d

View File

@ -1241,8 +1241,6 @@ static bool event_init_content(void)
bool contentless = false;
bool is_inited = false;
content_get_status(&contentless, &is_inited);
rarch_ctl(RARCH_CTL_SET_SRAM_ENABLE, NULL);
/* No content to be loaded for dummy core,
@ -1251,6 +1249,7 @@ static bool event_init_content(void)
return true;
content_set_subsystem_info();
content_get_status(&contentless, &is_inited);
if (!contentless)
path_fill_names();
@ -1258,8 +1257,6 @@ static bool event_init_content(void)
if (!content_init())
return false;
content_get_status(&contentless, &is_inited);
command_event_set_savestate_auto_index();
if (event_load_save_files())
@ -1267,7 +1264,7 @@ static bool event_init_content(void)
msg_hash_to_str(MSG_SKIPPING_SRAM_LOAD));
/*
Since the operations are asynchronouse we can't
Since the operations are asynchronous we can't
guarantee users will not use auto_load_state to cheat on
achievements so we forbid auto_load_state from happening
if cheevos_enable and cheevos_hardcode_mode_enable