|
@@ -96,17 +96,12 @@ void CrashLog::LogCompiler(std::back_ins
|
|
|
fmt::format_to(output_iterator, " \"" __VERSION__ "\"\n\n");
|
|
|
#else
|
|
|
fmt::format_to(output_iterator, "\n\n");
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
/* virtual */ void CrashLog::LogRegisters(std::back_insert_iterator<std::string> &output_iterator) const
|
|
|
{
|
|
|
/* Stub implementation; not all OSes support this. */
|
|
|
}
|
|
|
|
|
|
/* virtual */ void CrashLog::LogModules(std::back_insert_iterator<std::string> &output_iterator) const
|
|
|
{
|
|
|
/* Stub implementation; not all OSes support this. */
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -340,13 +335,12 @@ void CrashLog::FillCrashLog(std::back_in
|
|
|
TimerGameCalendar::YearMonthDay ymd;
|
|
|
TimerGameCalendar::ConvertDateToYMD(TimerGameCalendar::date, &ymd);
|
|
|
fmt::format_to(output_iterator, "In game date: {}-{:02}-{:02} ({})\n\n", ymd.year, ymd.month + 1, ymd.day, TimerGameCalendar::date_fract);
|
|
|
|
|
|
this->LogError(output_iterator, CrashLog::message);
|
|
|
this->LogOpenTTDVersion(output_iterator);
|
|
|
this->LogRegisters(output_iterator);
|
|
|
this->LogStacktrace(output_iterator);
|
|
|
this->LogOSVersion(output_iterator);
|
|
|
this->LogCompiler(output_iterator);
|
|
|
this->LogConfiguration(output_iterator);
|
|
|
this->LogLibraries(output_iterator);
|
|
|
this->LogModules(output_iterator);
|