mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 00:40:09 +00:00
Remove persist argument
This commit is contained in:
parent
47cb3b899a
commit
fcf2decb2e
@ -1723,7 +1723,6 @@ bool command_event(enum event_command cmd, void *data)
|
||||
case CMD_EVENT_UNLOAD_CORE:
|
||||
if (!rarch_task_push_content_load_default(
|
||||
NULL, NULL,
|
||||
true,
|
||||
&content_info,
|
||||
CORE_TYPE_DUMMY,
|
||||
CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE,
|
||||
|
@ -128,7 +128,6 @@ int rarch_main(int argc, char *argv[], void *data)
|
||||
if (!rarch_task_push_content_load_default(
|
||||
NULL,
|
||||
NULL,
|
||||
false,
|
||||
&info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_FROM_CLI,
|
||||
|
@ -510,7 +510,7 @@ static int file_load_with_detect_core_wrapper(size_t idx, size_t entry_idx,
|
||||
command_event(CMD_EVENT_LOAD_CORE, NULL);
|
||||
|
||||
rarch_task_push_content_load_default(NULL, NULL,
|
||||
false, &content_info, CORE_TYPE_PLAIN,
|
||||
&content_info, CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU,
|
||||
NULL, NULL);
|
||||
return 0;
|
||||
@ -558,7 +558,7 @@ static int action_ok_file_load_detect_core(const char *path,
|
||||
{
|
||||
content_ctx_info_t content_info = {0};
|
||||
rarch_task_push_content_load_default(path, detect_content_path,
|
||||
false, &content_info, CORE_TYPE_PLAIN,
|
||||
&content_info, CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU,
|
||||
NULL, NULL);
|
||||
|
||||
@ -1138,7 +1138,6 @@ static int action_ok_core_load_deferred(const char *path,
|
||||
return menu_cbs_exit();
|
||||
|
||||
rarch_task_push_content_load_default(path, menu->deferred_path,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU,
|
||||
@ -1172,7 +1171,7 @@ static int generic_action_ok_file_load(const char *path,
|
||||
{
|
||||
case ACTION_OK_FFMPEG:
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, new_path, true,
|
||||
NULL, new_path,
|
||||
&content_info,
|
||||
action_type,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_FFMPEG_CORE_FROM_MENU,
|
||||
@ -1180,7 +1179,7 @@ static int generic_action_ok_file_load(const char *path,
|
||||
break;
|
||||
case ACTION_OK_IMAGEVIEWER:
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, new_path, true,
|
||||
NULL, new_path,
|
||||
&content_info,
|
||||
action_type,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_IMAGEVIEWER_CORE_FROM_MENU,
|
||||
@ -1253,7 +1252,6 @@ static int action_ok_file_load(const char *path,
|
||||
|
||||
rarch_task_push_content_load_default(NULL,
|
||||
full_path_new,
|
||||
true,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU,
|
||||
@ -2062,7 +2060,7 @@ static int action_ok_start_core(const char *path,
|
||||
{
|
||||
content_ctx_info_t content_info = {0};
|
||||
rarch_task_push_content_load_default(NULL, NULL,
|
||||
false, &content_info, CORE_TYPE_PLAIN,
|
||||
&content_info, CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_NOTHING_WITH_CURRENT_CORE_FROM_MENU,
|
||||
NULL, NULL);
|
||||
}
|
||||
@ -2145,7 +2143,7 @@ static int action_ok_load_archive(const char *path,
|
||||
|
||||
command_event(CMD_EVENT_LOAD_CORE, NULL);
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, detect_content_path, false,
|
||||
NULL, detect_content_path,
|
||||
&content_info, CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU,
|
||||
NULL, NULL);
|
||||
@ -2193,7 +2191,6 @@ static int action_ok_load_archive_detect_core(const char *path,
|
||||
case -1:
|
||||
command_event(CMD_EVENT_LOAD_CORE, NULL);
|
||||
rarch_task_push_content_load_default(NULL, NULL,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_MENU,
|
||||
|
@ -799,7 +799,7 @@ static int zarch_zui_load_content(zui_t *zui, unsigned i)
|
||||
content_ctx_info_t content_info = {0};
|
||||
|
||||
rarch_task_push_content_load_default(zui->pick_cores[i].path,
|
||||
zui->pick_content, false,
|
||||
zui->pick_content,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU,
|
||||
|
@ -97,7 +97,6 @@ static bool menu_content_load_from_playlist(menu_content_ctx_playlist_info_t *in
|
||||
if (rarch_task_push_content_load_default(
|
||||
core_path,
|
||||
path,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_FROM_PLAYLIST_FROM_MENU,
|
||||
|
@ -1543,7 +1543,6 @@ bool retroarch_replace_config(char *path)
|
||||
|
||||
if (!rarch_task_push_content_load_default(
|
||||
NULL, NULL,
|
||||
true,
|
||||
&content_info,
|
||||
CORE_TYPE_DUMMY,
|
||||
CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE,
|
||||
|
@ -1244,7 +1244,6 @@ static int runloop_iterate_time_to_exit_load_dummy(void)
|
||||
content_ctx_info_t content_info = {0};
|
||||
if (!rarch_task_push_content_load_default(
|
||||
NULL, NULL,
|
||||
true,
|
||||
&content_info,
|
||||
CORE_TYPE_DUMMY,
|
||||
CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE,
|
||||
|
@ -1959,7 +1959,6 @@ static bool command_event_cmd_exec(void *data)
|
||||
bool rarch_task_push_content_load_default(
|
||||
const char *core_path,
|
||||
const char *fullpath,
|
||||
bool persist,
|
||||
content_ctx_info_t *content_info,
|
||||
enum rarch_core_type type,
|
||||
enum content_mode_load mode,
|
||||
|
@ -129,7 +129,6 @@ bool rarch_task_push_decompress(
|
||||
bool rarch_task_push_content_load_default(
|
||||
const char *core_path,
|
||||
const char *fullpath,
|
||||
bool persist,
|
||||
content_ctx_info_t *content_info,
|
||||
enum rarch_core_type type,
|
||||
enum content_mode_load mode,
|
||||
|
@ -284,7 +284,6 @@ static void poll_iteration(void)
|
||||
rarch_task_push_content_load_default(
|
||||
NULL,
|
||||
__core.UTF8String,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI,
|
||||
@ -325,7 +324,7 @@ static void open_core_handler(NSOpenPanel *panel, NSInteger result)
|
||||
content_ctx_info_t content_info = {0};
|
||||
runloop_ctl(RUNLOOP_CTL_CLEAR_CONTENT_PATH, NULL);
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, NULL, false,
|
||||
NULL, NULL,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI,
|
||||
@ -362,7 +361,6 @@ static void open_document_handler(NSOpenPanel *panel, NSInteger result)
|
||||
content_ctx_info_t content_info = {0};
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, NULL,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI,
|
||||
|
@ -579,7 +579,6 @@ LRESULT win32_menu_loop(HWND owner, WPARAM wparam)
|
||||
do_wm_close = true;
|
||||
rarch_task_push_content_load_default(
|
||||
NULL, NULL,
|
||||
false,
|
||||
&content_info,
|
||||
CORE_TYPE_PLAIN,
|
||||
CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI,
|
||||
|
Loading…
x
Reference in New Issue
Block a user