mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Add logs from desync log call to CheckCaches to ring buffer for next desync
This commit is contained in:
parent
6539de0734
commit
0609500ae8
@ -416,6 +416,7 @@ char *CrashLog::FillDesyncCrashLog(char *buffer, const char *last) const
|
|||||||
if (!have_cache_log) buffer += seprintf(buffer, last, "CheckCaches:\n");
|
if (!have_cache_log) buffer += seprintf(buffer, last, "CheckCaches:\n");
|
||||||
buffer += seprintf(buffer, last, " %s\n", str);
|
buffer += seprintf(buffer, last, " %s\n", str);
|
||||||
have_cache_log = true;
|
have_cache_log = true;
|
||||||
|
LogDesyncMsg(stdstr_fmt("[prev desync]: %s", str));
|
||||||
});
|
});
|
||||||
if (have_cache_log) buffer += seprintf(buffer, last, "\n");
|
if (have_cache_log) buffer += seprintf(buffer, last, "\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user