Add logs from desync log call to CheckCaches to ring buffer for next desync

This commit is contained in:
Jonathan G Rennison 2019-06-14 22:06:23 +01:00
parent 6539de0734
commit 0609500ae8

View File

@ -416,6 +416,7 @@ char *CrashLog::FillDesyncCrashLog(char *buffer, const char *last) const
if (!have_cache_log) buffer += seprintf(buffer, last, "CheckCaches:\n");
buffer += seprintf(buffer, last, " %s\n", str);
have_cache_log = true;
LogDesyncMsg(stdstr_fmt("[prev desync]: %s", str));
});
if (have_cache_log) buffer += seprintf(buffer, last, "\n");