mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Fix skipping locks.
This commit is contained in:
parent
e43a57f6b3
commit
9618ee3581
@ -767,7 +767,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
f.Read( tsz );
|
f.Read( tsz );
|
||||||
if( fileVer >= FileVersion( 0, 5, 2 ) )
|
if( fileVer >= FileVersion( 0, 5, 2 ) )
|
||||||
{
|
{
|
||||||
f.Skip( tsz * ( sizeof( int64_t ) + sizeof( LockEvent::type ) + sizeof( int16_t ) + sizeof( LockEvent::thread ) ) );
|
f.Skip( tsz * ( sizeof( LockEvent::_time_srcloc ) + sizeof( LockEvent::thread ) + sizeof( LockEvent::type ) ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user