diff --git a/server/TracyVersion.hpp b/server/TracyVersion.hpp index df087f36..7574895f 100644 --- a/server/TracyVersion.hpp +++ b/server/TracyVersion.hpp @@ -7,7 +7,7 @@ namespace Version { enum { Major = 0 }; enum { Minor = 3 }; -enum { Patch = 203 }; +enum { Patch = 204 }; } } diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 939794d5..f0662f63 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -287,6 +287,11 @@ Worker::Worker( FileRead& f, EventType::Type eventMask ) m_hostInfo = std::string( tmp, tmp+sz ); } + if( fileVer >= FileVersion( 0, 3, 204 ) ) + { + f.Read( &m_data.m_crashEvent, sizeof( m_data.m_crashEvent ) ); + } + if( fileVer >= FileVersion( 0, 3, 202 ) ) { f.Read( sz ); @@ -2977,6 +2982,8 @@ void Worker::Write( FileWrite& f ) f.Write( &sz, sizeof( sz ) ); f.Write( m_hostInfo.c_str(), sz ); + f.Write( &m_data.m_crashEvent, sizeof( m_data.m_crashEvent ) ); + sz = m_data.frames.Data().size(); f.Write( &sz, sizeof( sz ) ); for( auto& fd : m_data.frames.Data() )