another stupid mistake...

This commit is contained in:
duduke 2016-01-19 10:43:33 +02:00
parent b284749016
commit eecd14086b
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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: