Store some desync messages in a ring buffer, append to log on desync

This commit is contained in:
Jonathan G Rennison
2019-05-22 19:57:16 +01:00
parent 68dbbf5945
commit ec2291fdb4
6 changed files with 71 additions and 3 deletions

View File

@@ -133,4 +133,8 @@ const char *GetLogPrefix();
/** The real time in the game. */
extern uint32 _realtime_tick;
void ClearDesyncMsgLog();
void LogDesyncMsg(std::string msg);
char *DumpDesyncMsgLog(char *buffer, const char *last);
#endif /* DEBUG_H */