troubleshooter: deferred message for fatal errors (#491)

## Description of change
When the game logs a fatal error message, queue up a deferred message
for the troubleshooter.
This commit is contained in:
bicarus
2025-12-31 05:44:55 -08:00
committed by GitHub
parent 17723d290a
commit d5d082ec37
3 changed files with 13 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ namespace deferredlogs {
extern const std::initializer_list<std::string> SUPERSTEP_SOUND_ERROR_MESSAGE;
void set_softid(const std::string& softid);
void report_fatal_message();
void defer_error_messages(std::initializer_list<std::string> messages);
void dump_to_logger(bool is_crash=false);
}