mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Cleanups
This commit is contained in:
parent
f4f76d9dda
commit
956580c606
@ -1422,9 +1422,11 @@ bool event_command(enum event_command cmd)
|
||||
rarch_ctl(RARCH_ACTION_STATE_FORCE_QUIT, NULL);
|
||||
break;
|
||||
case EVENT_CMD_SHUTDOWN:
|
||||
#if defined(__linux__) && !defined(ANDROID)
|
||||
rarch_main_msg_queue_push("Shutting down...", 1, 180, true);
|
||||
rarch_ctl(RARCH_ACTION_STATE_FORCE_QUIT, NULL);
|
||||
system("shutdown -P now");
|
||||
#endif
|
||||
break;
|
||||
case EVENT_CMD_RESUME:
|
||||
rarch_ctl(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED, NULL);
|
||||
|
@ -1710,7 +1710,6 @@ static int action_ok_load_archive_detect_core(const char *path,
|
||||
if (ret == -1)
|
||||
action_ok_push_quick_menu();
|
||||
return ret;
|
||||
return 0;
|
||||
case 0:
|
||||
return generic_action_ok_displaylist_push(path, label, type,
|
||||
selection, entry_idx, ACTION_OK_DL_DEFERRED_CORE_LIST);
|
||||
|
@ -210,7 +210,6 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
||||
string_list_append(s, opt, attr);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case STRING_LIST_CORES_NAMES:
|
||||
for (i = 0; i < core_info_list_num_info_files(global->core_info.list); i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user