Rename some tasks

This commit is contained in:
twinaphex 2017-02-21 16:50:39 +01:00
parent d7fda3016e
commit d0e49a2d8f
7 changed files with 9 additions and 10 deletions

View File

@ -1968,7 +1968,7 @@ bool command_event(enum event_command cmd, void *data)
command_event(CMD_EVENT_RESTORE_DEFAULT_SHADER_PRESET, NULL);
if (is_inited)
if (!task_push_content_load_nothing_with_dummy_core(&content_info))
if (!task_push_start_dummy_core(&content_info))
return false;
#ifdef HAVE_DYNAMIC
#ifdef HAVE_MENU

View File

@ -3379,7 +3379,7 @@ bool config_replace(bool config_save_on_exit, char *path)
/* Load core in new config. */
path_clear(RARCH_PATH_CORE);
if (!task_push_content_load_nothing_with_dummy_core(&content_info))
if (!task_push_start_dummy_core(&content_info))
return false;
return true;

View File

@ -3589,7 +3589,7 @@ static int action_ok_start_core(const char *path,
{
content_ctx_info_t content_info = {0};
if (!task_push_content_load_nothing_with_current_core_from_menu(&content_info))
if (!task_push_start_current_core(&content_info))
return -1;
return 0;

View File

@ -748,7 +748,7 @@ static enum runloop_state runloop_check_state(
if (runloop_core_shutdown_initiated && settings->load_dummy_on_core_shutdown)
{
content_ctx_info_t content_info = {0};
if (!task_push_content_load_nothing_with_dummy_core(&content_info))
if (!task_push_start_dummy_core(&content_info))
return RUNLOOP_STATE_QUIT;
/* Loads dummy core instead of exiting RetroArch completely.

View File

@ -1002,7 +1002,7 @@ static void task_push_content_update_firmware_status(
core_info_list_update_missing_firmware(&firmware_info);
}
bool task_push_content_load_nothing_with_dummy_core(content_ctx_info_t *content_info)
bool task_push_start_dummy_core(content_ctx_info_t *content_info)
{
content_information_ctx_t content_ctx;
@ -1159,8 +1159,7 @@ error:
return false;
}
bool task_push_content_load_nothing_with_current_core_from_menu(
content_ctx_info_t *content_info)
bool task_push_start_current_core(content_ctx_info_t *content_info)
{
content_information_ctx_t content_ctx;

View File

@ -80,7 +80,7 @@ static void netplay_crc_scan_callback(void *task_data,
CORE_TYPE_PLAIN,
NULL, NULL);
task_push_content_load_nothing_with_current_core_from_menu(&content_info);
task_push_start_current_core(&content_info);
}
else
{

View File

@ -146,9 +146,9 @@ bool task_push_content_load_nothing_with_new_core_from_menu(
retro_task_callback_t cb,
void *user_data);
bool task_push_content_load_nothing_with_current_core_from_menu(content_ctx_info_t *content_info);
bool task_push_start_current_core(content_ctx_info_t *content_info);
bool task_push_content_load_nothing_with_dummy_core(content_ctx_info_t *content_info);
bool task_push_start_dummy_core(content_ctx_info_t *content_info);
bool task_push_content_load_content_with_new_core_from_companion_ui(
const char *core_path,