Implement Auto Reboot Timer (#518) (#519)

* Implement Auto Reboot Timer (#518)

* Use > to check for values below -1

* Use TimeoutHelper and accept MS

* Add fatal_auto_reboot_interval into config (commented)

* Check for 0
This commit is contained in:
Sun
2019-04-22 00:18:01 -07:00
committed by SciresM
parent a09c08994f
commit be4ca7eee5
4 changed files with 16 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ struct FatalConfig {
const char *error_msg;
const char *error_desc;
const char *quest_desc;
u64 fatal_auto_reboot_interval;
bool is_auto_reboot_enabled;
};
IEvent *GetFatalSettingsEvent();