Debug: Detect which frame's state first diverged after a desync

This commit is contained in:
Jonathan G Rennison
2022-11-13 01:07:53 +00:00
parent 7582993d00
commit 5e00d535bc
10 changed files with 97 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ struct DesyncExtraInfo {
Flags flags = DEIF_NONE;
const char *client_name = nullptr;
int client_id = -1;
uint32 desync_frame_seed = 0;
uint32 desync_frame_state_checksum = 0;
FILE **log_file = nullptr; ///< save unclosed log file handle here
DesyncDeferredSaveInfo *defer_savegame_write = nullptr;
};