mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
event_init_content - cleanup
This commit is contained in:
parent
b87c9fd495
commit
58056a409d
@ -1241,8 +1241,6 @@ static bool event_init_content(void)
|
|||||||
bool contentless = false;
|
bool contentless = false;
|
||||||
bool is_inited = false;
|
bool is_inited = false;
|
||||||
|
|
||||||
content_get_status(&contentless, &is_inited);
|
|
||||||
|
|
||||||
rarch_ctl(RARCH_CTL_SET_SRAM_ENABLE, NULL);
|
rarch_ctl(RARCH_CTL_SET_SRAM_ENABLE, NULL);
|
||||||
|
|
||||||
/* No content to be loaded for dummy core,
|
/* No content to be loaded for dummy core,
|
||||||
@ -1251,6 +1249,7 @@ static bool event_init_content(void)
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
content_set_subsystem_info();
|
content_set_subsystem_info();
|
||||||
|
content_get_status(&contentless, &is_inited);
|
||||||
|
|
||||||
if (!contentless)
|
if (!contentless)
|
||||||
path_fill_names();
|
path_fill_names();
|
||||||
@ -1258,8 +1257,6 @@ static bool event_init_content(void)
|
|||||||
if (!content_init())
|
if (!content_init())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
content_get_status(&contentless, &is_inited);
|
|
||||||
|
|
||||||
command_event_set_savestate_auto_index();
|
command_event_set_savestate_auto_index();
|
||||||
|
|
||||||
if (event_load_save_files())
|
if (event_load_save_files())
|
||||||
@ -1267,7 +1264,7 @@ static bool event_init_content(void)
|
|||||||
msg_hash_to_str(MSG_SKIPPING_SRAM_LOAD));
|
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
|
guarantee users will not use auto_load_state to cheat on
|
||||||
achievements so we forbid auto_load_state from happening
|
achievements so we forbid auto_load_state from happening
|
||||||
if cheevos_enable and cheevos_hardcode_mode_enable
|
if cheevos_enable and cheevos_hardcode_mode_enable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user