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 authored and SciresM committed 2019-04-22 00:18:01 -07:00
1 parent a09c08994f
commit be4ca7eee5
4 files changed
+16 -1

No files matched your search

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