Store crash/desync logs in crash/desync savegame

Add console command to dump loaded debug log
This commit is contained in:
Jonathan G Rennison
2019-05-21 01:49:40 +01:00
parent 951a50ddd9
commit 5a9790a196
20 changed files with 90 additions and 1 deletions

View File

@@ -197,7 +197,7 @@ struct MemoryDumper {
*this->buf++ = b;
}
inline void CopyBytes(byte *ptr, size_t length)
inline void CopyBytes(const byte *ptr, size_t length)
{
while (length) {
if (unlikely(this->buf == this->bufe)) {