mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
another stupid mistake...
This commit is contained in:
parent
b284749016
commit
eecd14086b
@ -1311,9 +1311,11 @@ bool event_command(enum event_command cmd)
|
||||
#endif
|
||||
break;
|
||||
case EVENT_CMD_REBOOT:
|
||||
#if defined(__linux__) && !defined(ANDROID)
|
||||
runloop_msg_queue_push("Rebooting...", 1, 180, true);
|
||||
rarch_ctl(RARCH_CTL_FORCE_QUIT, NULL);
|
||||
system("shutdown -r now");
|
||||
#endif
|
||||
break;
|
||||
case EVENT_CMD_RESUME:
|
||||
rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL);
|
||||
|
@ -1247,7 +1247,7 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||
case MENU_LABEL_VALUE_SHUTDOWN:
|
||||
return "Shutdown";
|
||||
case MENU_LABEL_VALUE_REBOOT:
|
||||
return "Reboot":
|
||||
return "Reboot";
|
||||
case MENU_LABEL_VALUE_HELP:
|
||||
return "help";
|
||||
case MENU_LABEL_VALUE_SAVE_NEW_CONFIG:
|
||||
|
Loading…
Reference in New Issue
Block a user