mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Proper skipping of locks in 0.4.1+ (fixes compare menu).
This commit is contained in:
parent
cb50cf9de6
commit
da8b01357d
@ -656,6 +656,10 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
||||
f.Skip( sizeof( uint32_t ) + sizeof( LockMap::srcloc ) );
|
||||
f.Read( type );
|
||||
f.Skip( sizeof( LockMap::valid ) );
|
||||
if( fileVer >= FileVersion( 0, 4, 1 ) )
|
||||
{
|
||||
f.Skip( sizeof( LockMap::timeAnnounce ) + sizeof( LockMap::timeTerminate ) );
|
||||
}
|
||||
f.Read( tsz );
|
||||
f.Skip( tsz * sizeof( uint64_t ) );
|
||||
f.Read( tsz );
|
||||
|
Loading…
Reference in New Issue
Block a user